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 |
Project content management using version control system or such back-end.
Definition at line 979 of file project.py.
def encode.project.ControllerExtension.__init__ | ( | self | ) |
def encode.project.ControllerExtension.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 in encode.darcs.Controller, and encode.filesystem.Controller.
Definition at line 1028 of file project.py.
def encode.project.ControllerExtension.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 in encode.darcs.Controller.
Definition at line 998 of file project.py.
def encode.project.ControllerExtension.get_latest | ( | self, | ||
name | ||||
) |
Get the contents of the last version of NAME that is known to the system.
Reimplemented in encode.darcs.Controller.
Definition at line 993 of file project.py.
def encode.project.ControllerExtension.is_controlled | ( | self, | ||
name | ||||
) |
Is NAME known to the system?
Reimplemented in encode.darcs.Controller.
Definition at line 985 of file project.py.
def encode.project.ControllerExtension.is_modified | ( | self, | ||
name | ||||
) |
Has NAME been modified since the last version known to the system?
Reimplemented in encode.darcs.Controller.
Definition at line 989 of file project.py.
def encode.project.ControllerExtension.make_directory | ( | self, | ||
name, | ||||
control = False | ||||
) |
Create the NAME directory. Register it with the system if CONTROL is set.
Reimplemented in encode.darcs.Controller, and encode.filesystem.Controller.
Definition at line 1013 of file project.py.
def encode.project.ControllerExtension.make_file | ( | self, | ||
name, | ||||
control = False | ||||
) |
Create the empty NAME file. Register it with the system if CONTROL is set.
Reimplemented in encode.darcs.Controller, and encode.filesystem.Controller.
Definition at line 1008 of file project.py.
def encode.project.ControllerExtension.release | ( | self, | ||
name | ||||
) |
Unregister NAME from the system. If NAME is a directory, its contents should be unregistered.
Reimplemented in encode.darcs.Controller.
Definition at line 1003 of file project.py.
def encode.project.ControllerExtension.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 in encode.darcs.Controller, and encode.filesystem.Controller.
Definition at line 1018 of file project.py.
def encode.project.ControllerExtension.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 in encode.darcs.Controller, and encode.filesystem.Controller.
Definition at line 1023 of file project.py.