Skip to main content

worktree_file

Function worktree_file 

Source
pub fn worktree_file(
    root: &Path,
    feature: Option<&str>,
    path: &str,
) -> Result<String, String>
Expand description

An untracked file of the feature’s worktree, read from disk: its text, or why not. Only what worktree_view lists as untracked.

§Errors

Why the file is not shown.