Correct IsTemplate's, loadDir's and the README's row-index claims

This commit is contained in:
2026-09-30 21:50:50 +02:00
committed by Lillem4n
parent 0b5124d4d5
commit 4fb81a5672
4 changed files with 7 additions and 13 deletions
+1 -2
View File
@@ -61,8 +61,7 @@ func loadData(sources []dataSource) (map[string]node, error) {
return root, nil
}
// loadDir compiles one directory into a folder. fs.ReadDir yields entries sorted
// by name, so the tree is built deterministically. Empty subdirectories (no JSON
// loadDir compiles one directory into a folder. Empty subdirectories (no JSON
// anywhere under them) are skipped rather than added as empty namespaces.
func loadDir(src dataSource, dir string) (*folder, error) {
entries, err := fs.ReadDir(src.fsys, dir)