parent
3648dbe939
commit
567ceffd42
1 changed files with 0 additions and 13 deletions
|
@ -256,11 +256,6 @@ actions!(
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
#[derive(Clone, PartialEq)]
|
|
||||||
pub struct OpenPaths {
|
|
||||||
pub paths: Vec<PathBuf>,
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Activates a specific pane by its index.
|
/// Activates a specific pane by its index.
|
||||||
#[derive(Clone, Deserialize, PartialEq, JsonSchema, Action)]
|
#[derive(Clone, Deserialize, PartialEq, JsonSchema, Action)]
|
||||||
#[action(namespace = workspace)]
|
#[action(namespace = workspace)]
|
||||||
|
@ -6823,14 +6818,6 @@ impl WorkspaceHandle for Entity<Workspace> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl std::fmt::Debug for OpenPaths {
|
|
||||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
|
||||||
f.debug_struct("OpenPaths")
|
|
||||||
.field("paths", &self.paths)
|
|
||||||
.finish()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub async fn last_opened_workspace_location() -> Option<SerializedWorkspaceLocation> {
|
pub async fn last_opened_workspace_location() -> Option<SerializedWorkspaceLocation> {
|
||||||
DB.last_workspace().await.log_err().flatten()
|
DB.last_workspace().await.log_err().flatten()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue