Expand description
Editing files
Structs§
- Formatting
Unpreservable - Error indicating that formatting could not be preserved.
- FsEditor
- An editor for a file
- Generated
File - Error indicating that a file is generated from another file.
- Tree
Editor - An editor for a file in a breezy tree
Enums§
- Editor
Error - Error that can occur when editing a file.
- Template
Type - The type of template used to generate a file.
Constants§
- DO_
NOT_ EDIT_ SCAN_ LINES - Number of lines to scan for generated file indicators.
- GENERATED_
EXTENSIONS - List of extensions for template files.
Traits§
- Editor
- An editor for a file
- Marshallable
- A trait for types that can be edited
- Mutable
Tree Edit - Allow calling .edit_file(“debian/control”) on a tree
Functions§
- check_
generated_ file - Check if a file is generated from another file.
- edit_
formatted_ file - Edit a formatted file.
- tree_
check_ generated_ file - Check if a file is generated from another file.
- tree_
edit_ formatted_ file - Edit a formatted file in a tree.