Add File::edit_contents()

This commit is contained in:
Matthias Beyer 2015-12-27 18:52:19 +01:00
parent 961fb27f99
commit 8029057b22
1 changed files with 8 additions and 0 deletions

View File

@ -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()
}