encode.darcs.Controller Class Reference

Inheritance diagram for encode.darcs.Controller:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

def __init__
def is_controlled
def is_modified
def get_latest
def control
def release
def make_file
def make_directory
def remove
def rename
def clone

Static Public Attributes

tuple rules = ('_darcs',)

Detailed Description

Definition at line 16 of file darcs.py.


Member Function Documentation

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

Reimplemented from encode.filesystem.Controller.

Definition at line 19 of file darcs.py.

def encode.darcs.Controller.clone (   self,
  old_name,
  new_name,
  control = True 
)

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.filesystem.Controller.

Definition at line 103 of file darcs.py.

def encode.darcs.Controller.control (   self,
  name,
  recursive = False 
)

Register NAME with the system.  If recursive is set and NAME is a
   directory, its contents should be registered.

Reimplemented from encode.project.ControllerExtension.

Definition at line 72 of file darcs.py.

def encode.darcs.Controller.get_latest (   self,
  name 
)

Get the contents of the last version of NAME that is known to the
   system.

Reimplemented from encode.project.ControllerExtension.

Definition at line 62 of file darcs.py.

def encode.darcs.Controller.is_controlled (   self,
  name 
)

Is NAME known to the system?

Reimplemented from encode.project.ControllerExtension.

Definition at line 22 of file darcs.py.

def encode.darcs.Controller.is_modified (   self,
  name 
)

Has NAME been modified since the last version known to the system?

Reimplemented from encode.project.ControllerExtension.

Definition at line 51 of file darcs.py.

def encode.darcs.Controller.make_directory (   self,
  name,
  control = True 
)

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

Reimplemented from encode.filesystem.Controller.

Definition at line 87 of file darcs.py.

def encode.darcs.Controller.make_file (   self,
  name,
  control = True 
)

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

Reimplemented from encode.filesystem.Controller.

Definition at line 82 of file darcs.py.

def encode.darcs.Controller.release (   self,
  name 
)

Unregister NAME from the system.  If NAME is a directory, its contents
   should be unregistered.

Reimplemented from encode.project.ControllerExtension.

Definition at line 78 of file darcs.py.

def encode.darcs.Controller.remove (   self,
  name,
  control = True 
)

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

Reimplemented from encode.filesystem.Controller.

Definition at line 92 of file darcs.py.

def encode.darcs.Controller.rename (   self,
  old_name,
  new_name,
  control = True 
)

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

Reimplemented from encode.filesystem.Controller.

Definition at line 97 of file darcs.py.


Member Data Documentation

tuple encode.darcs.Controller.rules = ('_darcs',) [static]

Reimplemented from encode.filesystem.Controller.

Definition at line 17 of file darcs.py.


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