Package conduit :: Module Vfs :: Class FolderScanner
[hide private]

Class FolderScanner

source code


Recursively scans a given folder URI, returning the number of contained files.

Instance Methods [hide private]
 
__init__(self, baseURI, includeHidden, followSymlinks) source code
 
run(self)
Recursively adds all files in dirs within the given list.
source code
 
cancel(self)
Cancels the thread as soon as possible.
source code
 
get_uris(self) source code

Inherited from threading.Thread: __repr__, getName, isAlive, isDaemon, join, setDaemon, setName, start

Inherited from threading.Thread (private): _set_daemon

Inherited from threading._Verbose (private): _note

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Class Variables [hide private]
  __gsignals__ = {"scan-progress":(gobject.SIGNAL_RUN_LAST, gobj...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, baseURI, includeHidden, followSymlinks)
(Constructor)

source code 
Overrides: threading.Thread.__init__

run(self)

source code 

Recursively adds all files in dirs within the given list.

Code adapted from Listen (c) 2006 Mehdi Abaakouk (http://listengnome.free.fr/)
Overrides: threading.Thread.run

Class Variable Details [hide private]

__gsignals__

Value:
{"scan-progress":(gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, [gobject\
.TYPE_INT]), "scan-completed":(gobject.SIGNAL_RUN_LAST, gobject.TYPE_N\
ONE, [])}