feat: allow to update vcs changed files info for current project
This commit is contained in:
parent
8d0fa9a355
commit
fdf2b6d376
3 changed files with 20 additions and 0 deletions
|
|
@ -1370,6 +1370,10 @@ pub fn mainview() ?*MainView {
|
|||
return if (current().mainview_) |*mv| mv.dynamic_cast(MainView) else null;
|
||||
}
|
||||
|
||||
pub fn sync_with_vcs() !void {
|
||||
try project_manager.request_sync_with_vcs();
|
||||
}
|
||||
|
||||
pub fn mainview_widget() Widget {
|
||||
return current().mainview_ orelse @panic("tui main view not found");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue