From 28baaef49b05c474ec95b8802e9509a84e063b49 Mon Sep 17 00:00:00 2001 From: Ernst von Oelsen Date: Mon, 8 Apr 2024 19:29:27 +0200 Subject: [PATCH] Add a comment to exported method. --- pkg/files/sources.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/files/sources.go b/pkg/files/sources.go index 61ff85c9..a6a2516e 100644 --- a/pkg/files/sources.go +++ b/pkg/files/sources.go @@ -55,6 +55,7 @@ type LocalSource struct { func NewLocalSource(path, dir string) LocalSource { return LocalSource{path, dir} } +// Description return the file's path func (s LocalSource) Description() string { return fmt.Sprintf("file %s", s.path) } func (s LocalSource) RelativePath() (string, error) {