This commit is contained in:
ston1th 2022-09-19 15:26:09 +02:00
commit f8407162ad
203 changed files with 29726 additions and 11340 deletions

View file

@ -163,6 +163,7 @@ type memFS struct {
// - "/", "foo", false
// - "/foo/", "bar", false
// - "/foo/bar/", "x", true
//
// The frag argument will be empty only if dir is the root node and the walk
// ends at that root node.
func (fs *memFS) walk(op, fullname string, f func(dir *memFSNode, frag string, final bool) error) error {