go-mfs implements an in-memory model of a mutable BTFS filesystem.
go-mfs
works like a regular Go module:
> go get github.com/TRON-US/go-mfs
import "github.com/TRON-US/go-mfs"
Check the GoDoc documentation
This repository contains many files, all belonging to the root mfs
package.
file.go
: MFSFile
.dir.go
: MFSDirectory
.fd.go
:FileDescriptor
used to operate onFile
s.ops.go
: Functions that do not belong to eitherFile
norDirectory
(although they mostly operate on them) that contain common operations to the MFS, e.g., find, move, add a file, make a directory.root.go
: MFSRoot
(aDirectory
with republishing support).repub.go
:Republisher
.mfs_test.go
: General tests.repub_test.go
: Republisher-specific tests (contains only theTestRepublisher
function).
PRs accepted.
Small note: If editing the README, please conform to the standard-readme specification.
MIT © TRON-US