Skip to main content

diff_files

Function diff_files 

Source
pub async fn diff_files(
    repo_path: &Path,
    bookmark: &str,
) -> Result<Vec<ChangedFile>, SandboxError>
Expand description

Compute the changed files (with old/new contents) between the sandbox branch and its parent, for the diff view. Runs against the original repo (repo_path), which shares refs with the sandbox worktree.