Add File::edit_contents()
This commit is contained in:
parent
961fb27f99
commit
8029057b22
1 changed files with 8 additions and 0 deletions
|
@ -96,6 +96,14 @@ impl<'a> File<'a> {
|
|||
unimplemented!()
|
||||
}
|
||||
|
||||
/**
|
||||
* Call editor on the file contents, but don't include the header inside the editor call.
|
||||
*
|
||||
* Return true if exit code from editor was good (and content was changed), false otherwise.
|
||||
*/
|
||||
pub fn edit_contents(rt: &Runtime) -> bool {
|
||||
}
|
||||
|
||||
pub fn header(&self) -> FileHeaderData {
|
||||
self.header.clone()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue