encode.filesystem.Controller Class Reference

Inheritance diagram for encode.filesystem.Controller:

Inheritance graph
[legend]
Collaboration diagram for encode.filesystem.Controller:

Collaboration graph
[legend]
List of all members.

Public Member Functions

def __init__
def make_file
def make_directory
def remove
def rename
def clone

Public Attributes

 root

Static Public Attributes

 rules = None

Detailed Description

Definition at line 13 of file filesystem.py.


Member Function Documentation

def encode.filesystem.Controller.__init__ (   self,
  path 
)

Reimplemented in encode.darcs.Controller.

Definition at line 16 of file filesystem.py.

def encode.filesystem.Controller.clone (   self,
  old_name,
  new_name,
  control = False 
)

Copy OLD_NAME to NEW_NAME.  If OLD_NAME is a directory, its contents
   should be copied.  Register the created files and
   directories with the system if CONTROL is set.

Reimplemented from encode.project.ControllerExtension.

Reimplemented in encode.darcs.Controller.

Definition at line 41 of file filesystem.py.

def encode.filesystem.Controller.make_directory (   self,
  name,
  control = False 
)

Create the NAME directory.  Register it with the system if CONTROL is
   set.

Reimplemented from encode.project.ControllerExtension.

Reimplemented in encode.darcs.Controller.

Definition at line 25 of file filesystem.py.

def encode.filesystem.Controller.make_file (   self,
  name,
  control = False 
)

Create the empty NAME file.  Register it with the system if CONTROL is
   set.

Reimplemented from encode.project.ControllerExtension.

Reimplemented in encode.darcs.Controller.

Definition at line 20 of file filesystem.py.

def encode.filesystem.Controller.remove (   self,
  name,
  control = False 
)

Delete NAME.  If NAME is a directory, its contents should be deleted.
   Unregister it from the system if CONTROL is set.

Reimplemented from encode.project.ControllerExtension.

Reimplemented in encode.darcs.Controller.

Definition at line 29 of file filesystem.py.

def encode.filesystem.Controller.rename (   self,
  old_name,
  new_name,
  control = False 
)

Rename OLD_NAME as NEW_NAME.  Update the change to the system if CONTROL
   is set.

Reimplemented from encode.project.ControllerExtension.

Reimplemented in encode.darcs.Controller.

Definition at line 36 of file filesystem.py.


Member Data Documentation

encode.filesystem.Controller.root

Definition at line 18 of file filesystem.py.

encode.filesystem.Controller.rules = None [static]

Reimplemented in encode.darcs.Controller.

Definition at line 14 of file filesystem.py.


The documentation for this class was generated from the following file:
Generated on Thu Jan 18 09:47:55 2007 for Encode by  doxygen 1.4.7