Skip to main content

open_file_in_editor

Function open_file_in_editor 

Source
pub fn open_file_in_editor(repo: &impl GitRepo, path: &Path) -> Result<()>
Expand description

Open an existing working-tree file in the configured editor.

path should be the absolute path to the file. Returns when the editor process exits.