ipfs / Go Mfs
Licence: mit
An in memory model of a mutable IPFS filesystem
Stars: ✭ 30
Programming Languages
go
31211 projects - #10 most used programming language
go-mfs
go-mfs implements an in-memory model of a mutable IPFS filesystem.
Lead Maintainer
Table of Contents
Install
go-mfs
works like a regular Go module:
> go get github.com/ipfs/go-mfs
It uses Gx to manage dependencies. You can use make all
to build it with the gx
dependencies.
Usage
import "github.com/ipfs/go-mfs"
Check the GoDoc documentation
Documentation
Documentation around the MFS and the Files API in general around IPFS is a work in progress the following links may be of use:
Repository Structure
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 (needs a revision). -
repub_test.go
: Republisher-specific tests (contains only theTestRepublisher
function).
Contribute
PRs accepted.
Small note: If editing the README, please conform to the standard-readme specification.
License
MIT © Protocol Labs, Inc.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].