mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
Correct typos in Go comments
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
17e60b77e1
commit
36ce3a4a9d
@@ -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"`
|
||||
|
@@ -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}
|
||||
}
|
||||
|
Reference in New Issue
Block a user