github.com/grailbio/base@v0.0.11/file/addfs/per_subtree.go (about)

     1  package addfs
     2  
     3  // TODO: Implement PerSubtreeFunc.
     4  // A PerNodeFunc is applied independently to each node in an entire directory tree. It may be
     5  // useful to define funcs that are contextual. For example if an fsnode.Parent called base/ has a
     6  // child called .git, we may want to define git-repository-aware views for each descendent node,
     7  // like base/file/addfs/.../per_subtree.go/git/log.txt containing history.