Package fcp :: Module freenetfs :: Class FreediskMgr
[hide private]
[frames] | no frames]

Class FreediskMgr

source code

Gateway for mirroring a local directory to/from freenet

Instance Methods [hide private]
 
__init__(self, **kw)
Creates a freediskmgr object
source code
 
update(self)
Update from freenet to local directory
source code
 
commit(self)
commit from local directory into freenet
source code
Method Details [hide private]

__init__(self, **kw)
(Constructor)

source code 

Creates a freediskmgr object

Keywords:

  • name - mandatory - the name of the disk
  • fcpNode - mandatory - an FCPNode instance
  • root - mandatory - the root directory
  • publicKey - the freenet public key URI
  • privateKey - the freenet private key URI

Notes:

  • exactly one of publicKey, privateKey keywords must be given