rope.base.fscommands

Project file system commands.

This modules implements file system operations used by rope. Different version control systems can be supported by implementing the interface provided by FileSystemCommands class. See SubversionCommands and MercurialCommands for example.

Attributes

FileContent

Classes

FileSystemCommands

SubversionCommands

MercurialCommands

GITCommands

DarcsCommands

Functions

create_fscommands(root)

unicode_to_file_data(contents[, encoding, newlines]) → FileContent

file_data_to_unicode(data[, encoding])

read_str_coding(source)

Module Contents

rope.base.fscommands.FileContent
rope.base.fscommands.create_fscommands(root)
class rope.base.fscommands.FileSystemCommands
create_file(path)
create_folder(path)
move(path, new_location)
remove(path)
write(path, data)
read(path)
class rope.base.fscommands.SubversionCommands(*args)
normal_actions
client
create_file(path)
create_folder(path)
move(path, new_location)
remove(path)
write(path, data)
read(path)
class rope.base.fscommands.MercurialCommands(root)
hg
normal_actions
repo
create_file(path)
create_folder(path)
move(path, new_location)
remove(path)
write(path, data)
read(path)
class rope.base.fscommands.GITCommands(root)
root
normal_actions
create_file(path)
create_folder(path)
move(path, new_location)
remove(path)
write(path, data)
read(path)
class rope.base.fscommands.DarcsCommands(root)
root
normal_actions
create_file(path)
create_folder(path)
move(path, new_location)
remove(path)
read(path)
write(path, data)
rope.base.fscommands.unicode_to_file_data(contents: str, encoding=None, newlines=None) → FileContent
rope.base.fscommands.file_data_to_unicode(data, encoding=None)
rope.base.fscommands.read_str_coding(source)