Module cvstree
source code
|
|
pathdata(entries,
path)
(entries,path) Returns the data(dict) for a specific file/dir at the
path specified. |
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
|
|
|
|
|
|
|
getentries(mydir,
recursive=0)
(basedir,recursive=0) Scans the given directory and returns an
datadict of all the entries in the directory seperated as a dirs dict
and a files dict. |
source code
|
|
|
|
ignore_list = re.compile(r'(^|/)(RCS(|LOG)|SCCS|CVS(|\.adm)|cv...
|
Imports:
os,
time,
sys,
re,
S_IWRITE,
ST_MTIME,
S_IRGRP,
S_IFLNK,
ST_INO,
S_IXOTH,
ST_UID,
S_ISSOCK,
S_ISLNK,
S_IMODE,
S_IXUSR,
S_IRUSR,
ST_NLINK,
S_IFBLK,
S_IFDIR,
ST_ATIME,
S_ISFIFO,
S_ISUID,
S_IRWXU,
S_IFCHR,
S_ISGID,
S_IFREG,
S_ISREG,
S_IREAD,
S_IFIFO,
S_IFSOCK,
S_ISCHR,
S_ISVTX,
ST_MODE,
S_ISDIR,
S_ENFMT,
S_IEXEC,
ST_CTIME,
S_IWOTH,
S_IXGRP,
S_IRWXG,
S_IFMT,
S_IWUSR,
S_ISBLK,
ST_GID,
S_IROTH,
S_IWGRP,
S_IRWXO,
ST_DEV,
ST_SIZE
|
(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.
|
|
(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*().
|
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)$')
|
|