Package libconfix :: Package core :: Package filesys :: Module entry :: Class Entry
[show private | hide private]
[frames | no frames]

Type Entry

object --+    
         |    
  VFSEntry --+
             |
            Entry

Known Subclasses:
Directory, File

Method Summary
  __init__(self, mode)
  abspath(self)
(VFSEntry implementation)...
  mode(self)
  relpath(self, from_dir)
(VFSEntry implementation)...
    Inherited from VFSEntry
  del_property(self, name)
  filesystem(self)
  get_property(self, name)
  is_persistent(self)
Does this entry correspond to a physical OS file system entry that can be accessed directly? This information is quite useful under certain circumstances; for example when it is better to pass the file to python's execfile(), rather than exec'ing it from memory (execfile() gives better error messages).
  name(self)
  parent(self)
  set_filesystem(self, filesystem)
  set_parent(self, parent)
  set_property(self, name, value)
  sync(self)
Write back to the backing storage, whatever this means.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name...
  __getattribute__(...)
x.__getattribute__('name') <==> x.name...
  __hash__(x)
x.__hash__() <==> hash(x)...
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle...
  __reduce_ex__(...)
helper for pickle...
  __repr__(x)
x.__repr__() <==> repr(x)...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value...
  __str__(x)
x.__str__() <==> str(x)...

Method Details

abspath(self)

(VFSEntry implementation)
Overrides:
libconfix.core.filesys.vfs_entry.VFSEntry.abspath

relpath(self, from_dir)

(VFSEntry implementation)
Overrides:
libconfix.core.filesys.vfs_entry.VFSEntry.relpath

Generated by Epydoc 2.1 on Fri Nov 23 16:56:34 2007 http://epydoc.sf.net