repositorypackage
0.3.0-alpha2
Repository: https://github.com/knieriem/fsutil.git
Documentation: pkg.go.dev
# README
This repository contains utilities around Go's io/fs
package:
-
UnionFS, which is a copy of the
unionFS
type implemented in golang.org/x/website/cmd/golangorg/server.go, slightly extended to allow access to the underlying file system of Files and DirEntrys -
NameSpace, a wrapper around UnionFS that provides method Bind, similar to Plan 9's bind command. It has been created to be able to use a functionality like Godoc's vfs.NameSpace, but based on
io/fs
. -
PrefixFS creates a filesystem by adding a prefix in front of another, already existing FS; it is used by Namespace.