Add File::edit()
This commit is contained in:
parent
4cac382412
commit
961fb27f99
1 changed files with 9 additions and 0 deletions
|
@ -87,6 +87,15 @@ impl<'a> File<'a> {
|
||||||
f
|
f
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Call editor on the file
|
||||||
|
*
|
||||||
|
* Return true if exit code from editor was good (and content was changed), false otherwise.
|
||||||
|
*/
|
||||||
|
pub fn edit(rt: &Runtime) {
|
||||||
|
unimplemented!()
|
||||||
|
}
|
||||||
|
|
||||||
pub fn header(&self) -> FileHeaderData {
|
pub fn header(&self) -> FileHeaderData {
|
||||||
self.header.clone()
|
self.header.clone()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue