diff options
Diffstat (limited to 'hugofs')
-rw-r--r-- | hugofs/dirsmerger.go | 2 | ||||
-rw-r--r-- | hugofs/rootmapping_fs.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hugofs/dirsmerger.go b/hugofs/dirsmerger.go index 392353e27..9eedb5844 100644 --- a/hugofs/dirsmerger.go +++ b/hugofs/dirsmerger.go @@ -42,7 +42,7 @@ var LanguageDirsMerger overlayfs.DirsMerger = func(lofi, bofi []fs.DirEntry) []f // AppendDirsMerger merges two directories keeping all regular files // with the first slice as the base. -// Duplicate directories in the secnond slice will be ignored. +// Duplicate directories in the second slice will be ignored. // This strategy is used for the i18n and data fs where we need all entries. var AppendDirsMerger overlayfs.DirsMerger = func(lofi, bofi []fs.DirEntry) []fs.DirEntry { for _, fi1 := range bofi { diff --git a/hugofs/rootmapping_fs.go b/hugofs/rootmapping_fs.go index a30498668..c91403c79 100644 --- a/hugofs/rootmapping_fs.go +++ b/hugofs/rootmapping_fs.go @@ -822,7 +822,7 @@ func (f *rootMappingDir) ReadDir(count int) ([]iofs.DirEntry, error) { return f.fs.collectDirEntries(f.name) } -// Sentinal error to signal that a file is a directory. +// Sentinel error to signal that a file is a directory. var errIsDir = errors.New("isDir") func (f *rootMappingDir) Stat() (iofs.FileInfo, error) { |