|
|
|
executeCommand(self,
cmd)
Executes a single-line command that was submitted as a base64-encoded
filename in /cmds/ |
source code
|
|
|
|
|
|
|
|
|
cmd_update(self,
*args)
Does an update of a freedisk from freenet |
source code
|
|
|
cmd_commit(self,
*args)
Does an commit of a freedisk into freenet |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mknod(self,
path,
mode,
dev)
Python has no os.mknod, so we can only do some things |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setupFreedisks(self)
Initialises the freedisks |
source code
|
|
|
|
|
|
|
|
|
|
|
getManifest(self,
name)
Retrieves the manifest of a given disk |
source code
|
|
|
putManifest(self,
name)
Inserts a freedisk manifest into freenet |
source code
|
|
|
setupFiles(self)
Create initial file/directory layout, according to attributes
'initialFiles' and 'chrFiles' |
source code
|
|
|
connectToNode(self)
Attempts a connection to an fcp node |
source code
|
|
|
mythread(self)
The beauty of the FUSE python implementation is that with the python
interp running in foreground, you can have threads |
source code
|
|
|
|
|
addToCache(self,
rec=None,
**kw)
Tries to 'cache' a given file/dir record, and adds it to parent dir |
source code
|
|
|
delFromCache(self,
rec)
Tries to remove file/dir record from cache |
source code
|
|
|
statFromKw(self,
**kw)
Constructs a stat tuple from keywords |
source code
|
|
|
|
|
getReadURI(self,
path)
Converts to a pathname to a freenet URI for insertion, using public
key |
source code
|
|
|
getWriteURI(self,
path)
Converts to a pathname to a freenet URI for insertion, using private
key if any |
source code
|
|
|
|
|
__getDirStat(self,
path)
returns a stat tuple for given path |
source code
|
|
|
_loadConfig(self)
The 'physical device' argument to mount should be the pathname of a
configuration file, with 'name=val' lines, including the following
items: |
source code
|
|