Package libxyz :: Package vfs :: Module local :: Class LocalVFSObject
[hide private]
[frames] | no frames]

Class LocalVFSObject

source code

      object --+    
               |    
vfsobj.VFSObject --+
                   |
                  LocalVFSObject

Local VFS object is used to access local filesystem

Instance Methods [hide private]
 
walk(self, top=None)
Directory tree walker
source code

Inherited from vfsobj.VFSObject: __init__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

walk(self, top=None)

source code 

Directory tree walker

Parameters:
  • top - Top directory or self.path unless provided
Returns:
tuple (parent, dir, dirs, files) where: parent - parent dir LocalVFSFile instance dir - current dir LocalVFSFile instance dirs - list of LocalVFSFile objects of directories files - list of LocalVFSFile objects of files
Overrides: vfsobj.VFSObject.walk