Package entropy :: Package transceivers :: Package uri_handlers :: Package plugins :: Package interfaces :: Module file_plugin

Module file_plugin

source code


Author: Fabio Erculiani <[email protected]>

Contact: [email protected]

Copyright:

License: GPL-2

EntropyTransceiver File URI Handler module.

Classes
  EntropyFileUriHandler
EntropyUriHandler based FILE (local) transceiver plugin.
Functions
 
filemode(mode)
Convert a file's mode to a string of the form -rwxrwxrwx.
source code
Variables
  S_IFLNK = 40960
  S_IFREG = 32768
  S_IFBLK = 24576
  S_IFDIR = 16384
  S_IFCHR = 8192
  S_IFIFO = 4096
  TSUID = 2048
  TSGID = 1024
  TSVTX = 512
  TUREAD = 256
  TUWRITE = 128
  TUEXEC = 64
  TGREAD = 32
  TGWRITE = 16
  TGEXEC = 8
  TOREAD = 4
  TOWRITE = 2
  TOEXEC = 1
  __package__ = 'entropy.transceivers.uri_handlers.plugins.inter...
Function Details

filemode(mode)

source code 

Convert a file's mode to a string of the form -rwxrwxrwx. Used by TarFile.list()


Variables Details

__package__

Value:
'entropy.transceivers.uri_handlers.plugins.interfaces'