Package portage :: Module cvstree
[hide private]

Module cvstree

source code

Classes [hide private]
  long
int(x=0) -> int or long int(x, base=10) -> int or long
Functions [hide private]
 
pathdata(entries, path)
(entries,path) Returns the data(dict) for a specific file/dir at the path specified.
source code
 
fileat(entries, path) source code
 
isadded(entries, path)
(entries,path) Returns true if the path exists and is added to the cvs tree.
source code
 
findnew(entries, recursive=0, basedir='')
(entries,recursive=0,basedir="") Recurses the entries tree to find all elements that have been added but have not yet been committed.
source code
 
findoption(entries, pattern, recursive=0, basedir='')
(entries, pattern, recursive=0, basedir="") Iterate over paths of cvs entries for which the pattern.search() method finds a match.
source code
 
findchanged(entries, recursive=0, basedir='')
(entries,recursive=0,basedir="") Recurses the entries tree to find all elements that exist in the cvs tree and differ from the committed version.
source code
 
findmissing(entries, recursive=0, basedir='')
(entries,recursive=0,basedir="") Recurses the entries tree to find all elements that are listed in the cvs tree but do not exist on the filesystem.
source code
 
findunadded(entries, recursive=0, basedir='')
(entries,recursive=0,basedir="") Recurses the entries tree to find all elements that are in valid cvs directories but are not part of the cvs tree.
source code
 
findremoved(entries, recursive=0, basedir='')
(entries,recursive=0,basedir="") Recurses the entries tree to find all elements that are in flagged for cvs deletions.
source code
 
findall(entries, recursive=0, basedir='')
(entries,recursive=0,basedir="") Recurses the entries tree to find all new, changed, missing, and unadded entities.
source code
 
apply_cvsignore_filter(list) source code
 
getentries(mydir, recursive=0)
(basedir,recursive=0) Scans the given directory and returns a datadict of all the entries in the directory separated as a dirs dict and a files dict.
source code
Variables [hide private]
  ignore_list = re.compile(r'(^|/)(RCS(|LOG)|SCCS|CVS(|\.adm)|cv...
  __package__ = 'portage'

Imports: io, re, stat, sys, time, os, _encodings, _unicode_encode


Function Details [hide private]

findnew(entries, recursive=0, basedir='')

source code 

(entries,recursive=0,basedir="") Recurses the entries tree to find all elements that have been added but have not yet been committed. Returns a list of paths, optionally prepended with a basedir.

findoption(entries, pattern, recursive=0, basedir='')

source code 

(entries, pattern, recursive=0, basedir="") Iterate over paths of cvs entries for which the pattern.search() method finds a match. Returns a list of paths, optionally prepended with a basedir.

findchanged(entries, recursive=0, basedir='')

source code 

(entries,recursive=0,basedir="") Recurses the entries tree to find all elements that exist in the cvs tree and differ from the committed version. Returns a list of paths, optionally prepended with a basedir.

findmissing(entries, recursive=0, basedir='')

source code 

(entries,recursive=0,basedir="") Recurses the entries tree to find all elements that are listed in the cvs tree but do not exist on the filesystem. Returns a list of paths, optionally prepended with a basedir.

findunadded(entries, recursive=0, basedir='')

source code 

(entries,recursive=0,basedir="") Recurses the entries tree to find all elements that are in valid cvs directories but are not part of the cvs tree. Returns a list of paths, optionally prepended with a basedir.

findremoved(entries, recursive=0, basedir='')

source code 

(entries,recursive=0,basedir="") Recurses the entries tree to find all elements that are in flagged for cvs deletions. Returns a list of paths, optionally prepended with a basedir.

findall(entries, recursive=0, basedir='')

source code 

(entries,recursive=0,basedir="") Recurses the entries tree to find all new, changed, missing, and unadded entities. Returns a 4 element list of lists as returned from each find*().


Variables Details [hide private]

ignore_list

Value:
re.compile(r'(^|/)(RCS(|LOG)|SCCS|CVS(|\.adm)|cvslog\..*|tags|TAGS|\.(\
make\.state|nse_depinfo)|.*~|(\.|)#.*|,.*|_$.*|.*\$|\.del-.*|.*\.(old|\
BAK|bak|orig|rej|a|olb|o|obj|so|exe|Z|elc|ln)|core)$')