Login | Register
My pages Projects Community openCollabNet

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.

Package commitmessage :: Module model :: Class Directory
[show private | hide private]
[frames | no frames]

Class Directory


A directory that has been affected by the commit
Method Summary
  __init__(self, path, action)
  __str__(self)
Return the path of the directory
  addFile(self, file)
Saves a file object into this directory
  addSubdirectory(self, subdir)
Saves a directory object into this directory
  file(self, name)
Return the file in the current directory with name or None
  filesByAction(self, action)
Return all of the files in this directory affected by the commit
  hasSubdirectory(self, name)
Return whether the directory has a subdirectory with name.
  subdirectory(self, name)
Return the subdirectory with name or None

Property Summary
  action: The action performed on this directory that caused the commit
  diff: The diff of what changed in the file
  files: The Files within this directory affected by the commit
  name: The name of the directory (dir with no slashes)
  path: The full path of the directory (/dir/dir/)
  subdirectories: The Directorys within this directory affected by the commit

Method Details

__str__(self)
(Informal representation operator)

Returns:
the path of the directory

addFile(self, file)

Saves a file object into this directory

addSubdirectory(self, subdir)

Saves a directory object into this directory

file(self, name)

Returns:
the file in the current directory with name or None

filesByAction(self, action)

Returns:
all of the files in this directory affected by the commit

hasSubdirectory(self, name)

Returns:
whether the directory has a subdirectory with name.

subdirectory(self, name)

Returns:
the subdirectory with name or None

Property Details

action

The action performed on this directory that caused the commit
Get Method:
unknown-12343664(...)

diff

The diff of what changed in the file
Get Method:
unknown-12343856(...)
Set Method:
unknown-12343920(...)
Delete Method:
unknown-12343984(...)

files

The Files within this directory affected by the commit
Get Method:
unknown-12343728(...)

name

The name of the directory (dir with no slashes)
Get Method:
fget(...)

path

The full path of the directory (/dir/dir/)
Get Method:
unknown-12343600(...)

subdirectories

The Directorys within this directory affected by the commit
Get Method:
unknown-12343792(...)

Generated by Epydoc 2.1 on Thu Jan 06 10:30:34 2005 http://epydoc.sf.net