Skip to main content

post_create_git_crypt_check

Function post_create_git_crypt_check 

Source
pub fn post_create_git_crypt_check(
    worktree_path: &Path,
) -> Result<(), WorktreeError>
Expand description

Post-create git-crypt check on the new worktree path. Returns Ok(()) if the worktree is safe, Err(GitCryptLocked) if encrypted files detected.