Skip to main content

shadow_repository_path

Function shadow_repository_path 

Source
pub fn shadow_repository_path(
    common_dir: &Path,
    transaction_id: &str,
) -> PathBuf
Expand description

What: The shadow repository path of a transaction. Why: shadowRepositoryPath: derived from the ID alone.

In TS you’d write (pseudocode):

shadowRepositoryPath({ commonDir, transactionId }) // `${commonDir}/cli-git/shadow/${transactionId}`