We're using memfs alongside go-git to perform a shallow clone of Git repositories. We'd like to be able to limit the data written to the memfs (other than heap memory / crashing).
Would additions to the memfs interface to support limiting the filesystem contents be of interest / accepted?