Package SCons :: Package Scanner :: Module Dir
[hide private]
[frames] | no frames]

Module Dir

source code

Functions [hide private]
 
only_dirs(nodes) source code
 
DirScanner(**kw)
Return a prototype Scanner instance for scanning directories for on-disk files
source code
 
DirEntryScanner(**kw)
Return a prototype Scanner instance for "scanning" directory Nodes for their in-memory entries
source code
 
do_not_scan(k) source code
 
scan_on_disk(node, env, path=())
Scans a directory for on-disk files and directories therein.
source code
 
scan_in_memory(node, env, path=())
"Scans" a Node.FS.Dir for its in-memory entries.
source code
Variables [hide private]
  __revision__ = 'src/engine/SCons/Scanner/Dir.py 2014/09/27 12...
  skip_entry = {'.': 1, '..': 1, '.sconsign': 1, '.sconsign.bak'...
  skip_entry_list = ['.', '..', '.sconsign', '.sconsign.dblite',...
  __package__ = 'SCons.Scanner'
  skip = '.sconsign.db'
Function Details [hide private]

scan_on_disk(node, env, path=())

source code 

Scans a directory for on-disk files and directories therein.

Looking up the entries will add these to the in-memory Node tree representation of the file system, so all we have to do is just that and then call the in-memory scanning function.


Variables Details [hide private]

__revision__

Value:
'src/engine/SCons/Scanner/Dir.py  2014/09/27 12:51:43 garyo'

skip_entry

Value:
{'.': 1,
 '..': 1,
 '.sconsign': 1,
 '.sconsign.bak': 1,
 '.sconsign.dat': 1,
 '.sconsign.db': 1,
 '.sconsign.dblite': 1,
 '.sconsign.dir': 1,
...

skip_entry_list

Value:
['.',
 '..',
 '.sconsign',
 '.sconsign.dblite',
 '.sconsign.dir',
 '.sconsign.pag',
 '.sconsign.dat',
 '.sconsign.bak',
...