Package conduit :: Package dataproviders :: Module File
[hide private]

Module File

source code

Classes [hide private]
  FileSource
  FolderTwoWay
TwoWay dataprovider for synchronizing a folder
Functions [hide private]
 
is_on_removable_volume(folderUri) source code
 
get_removable_volume_info(folderUri)
Returns the root uri of the volume, and local path of the group config file
source code
 
save_removable_volume_group_file(folderUri, folderGroupName)
Saves a file on the root of the drive, in ini format, containing the uri and group
source code
 
read_removable_volume_group_file(folderUri) source code
Variables [hide private]
  log = logging.getLogger("dataproviders.File")
  TYPE_FILE = "0"
  TYPE_FOLDER = "1"
Function Details [hide private]

save_removable_volume_group_file(folderUri, folderGroupName)

source code 

Saves a file on the root of the drive, in ini format, containing the uri and group

e.g. [DEFAULT] relative/uri/from/volume/root = group name