- Project tools
-
-
- How do I...
-
| Category |
Featured projects |
| scm |
Subversion,
Subclipse,
TortoiseSVN,
RapidSVN
|
| issuetrack |
Scarab |
| requirements |
xmlbasedsrs |
| design |
ArgoUML |
| techcomm |
SubEtha,
eyebrowse,
midgard,
cowiki |
| construction |
antelope,
scons,
frameworx,
build-interceptor,
propel,
phing
|
| testing |
maxq,
aut
|
| deployment |
current |
| process |
ReadySET |
| libraries |
GEF,
Axion,
Style,
SSTree
|
| Over 500 more tools... |
|
Welcome to the new Tigris! There have been some changes to the administration of mail lists. Project and list owners should check out the Discussion Services release notes.
Class Model
Wraps the Files and Directorys created by the Controller and used by Views
| Method Summary |
| |
__init__(self)
|
| |
addDirectory(self,
directory)
Adds directory into the model's directory tree |
| |
directories(self,
action)
Return a flat list of Directorys, optionally those that match
action. |
| |
directoriesWithFiles(self,
action)
Return a flat list of Directorys that have changes to files |
| |
directory(self,
path)
Return the model's Directory for path; creates
new directories and sub directories if needed |
| |
file(self,
path)
Return the File for the path |
| |
files(self,
action)
Return a flat list of Files, optionally those that match
action |
| |
greatestCommonDirectory(self)
Return the greatest common directory of the commit to base the module
matching on |
| |
_directories(self,
directory,
action)
Return a flat list of Directorys (helper method) |
| |
_directoriesWithFiles(self,
directory,
action)
Return a flat list of Directorys (helper method) |
| |
_files(self,
directory,
action)
Return a flat list of Files (helper method) |
| Property Summary |
| |
log: The comment the user entered for this commit | | |
repo: The CVS module/SVn repo for this commit | | |
rootDirectory: The root directory within the SCM | | |
user: The user performing the commit |
addDirectory(self,
directory)
Adds directory into the model's directory tree
Uses self.directory(path), except it takes a default
value for the new directory to add at the bottom of the hierarchy.
-
|
directories(self,
action=None)
-
- Returns:
-
a flat list of
Directorys, optionally those that
match action.
|
directoriesWithFiles(self,
action=None)
-
- Returns:
-
a flat list of
Directorys that have changes to
files
|
directory(self,
path)
-
- Returns:
-
the model's
Directory for path;
creates new directories and sub directories if needed
|
file(self,
path)
-
- Returns:
-
the
File for the path
|
files(self,
action=None)
-
- Returns:
-
a flat list of
Files, optionally those that match
action
|
greatestCommonDirectory(self)
-
- Returns:
-
the greatest common directory of the commit to base the module
matching on
|
_directories(self,
directory,
action)
-
- Returns:
-
a flat list of
Directorys (helper method)
|
_directoriesWithFiles(self,
directory,
action)
-
- Returns:
-
a flat list of
Directorys (helper method)
|
_files(self,
directory,
action)
-
- Returns:
-
a flat list of
Files (helper method)
|
log
The comment the user entered for this commit
-
- Get Method:
- unknown-12344880(...)
- Set Method:
- unknown-12344944(...)
- Delete Method:
- unknown-12345008(...)
|
repo
The CVS module/SVn repo for this commit
-
- Get Method:
- unknown-12345072(...)
- Set Method:
- unknown-12345136(...)
- Delete Method:
- unknown-12345200(...)
|
rootDirectory
The root directory within the SCM
-
- Get Method:
- unknown-12344624(...)
|
user
The user performing the commit
-
- Get Method:
- unknown-12344688(...)
- Set Method:
- unknown-12344752(...)
- Delete Method:
- unknown-12344816(...)
|
|