diff options
author | Oleksandr Redko <oleksandr.red+github@gmail.com> | 2023-02-18 22:47:35 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-03-02 16:32:32 +0100 |
commit | 36ce3a4a9d3933772085991c8636915ffd5cb3af (patch) | |
tree | e7eaf3e0ea689b227fe012eab7c0f16205d6cd8c /source | |
parent | 17e60b77e15664ba37f5c0b911cf70c36d496d80 (diff) |
Correct typos in Go comments
Diffstat (limited to 'source')
-rw-r--r-- | source/fileInfo.go | 2 | ||||
-rw-r--r-- | source/filesystem.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/fileInfo.go b/source/fileInfo.go index 9ce601b5b..618498add 100644 --- a/source/fileInfo.go +++ b/source/fileInfo.go @@ -301,7 +301,7 @@ func NewGitInfo(info gitmap.GitInfo) GitInfo { return GitInfo(info) } -// GitInfo provides information about a version controled source file. +// GitInfo provides information about a version controlled source file. type GitInfo struct { // Commit hash. Hash string `json:"hash"` diff --git a/source/filesystem.go b/source/filesystem.go index 79d027c5c..283863dbf 100644 --- a/source/filesystem.go +++ b/source/filesystem.go @@ -34,7 +34,7 @@ type Filesystem struct { SourceSpec } -// NewFilesystem returns a new filesytem for a given source spec. +// NewFilesystem returns a new filesystem for a given source spec. func (sp SourceSpec) NewFilesystem(base string) *Filesystem { return &Filesystem{SourceSpec: sp, Base: base} } |