Skip to main content

drafts_for

Function drafts_for 

Source
pub fn drafts_for(
    fs: &dyn FileSystemService,
    drafts_dir: &Path,
    workspace_root: &Path,
) -> FsResult<(Vec<Draft>, Vec<DraftDiagnostic>)>
Expand description

Load valid drafts for one workspace. A corrupt sibling is diagnosed and skipped; one bad recovery file must not hide the rest.