# README
Flist module
How to run the tests of this module
Because 0-fs requires root permission to mount the filesystems, you need to run the tests using the root user
An easy way to configure your system to have all your user GOPATH in the root directory is to create a symlink to /root/go
.
Because if $GOPATH
is not set, go automatically use $HOME/go
ln -s $GOPATH /root/go
Then to the tests:
su
go test -v
RPC test
Because RPC tests requires to have a local redis running, RPC tests are not run by default.
In order to run the RPC test, you need to have redis running and listening on port 6379 and pass the -rpc
flag to the go test
command.
go test -v -rpc
# Functions
New creates a new flistModule.
# Variables
ErrAlreadyMounted is returned when checking if a path has already something mounted on it.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
Cleaner interface, implementer of this interface can start a cleaner job.