Skip to main content

nix_store_copy_path

Function nix_store_copy_path 

Source
pub unsafe extern "C" fn nix_store_copy_path(
    context: *mut nix_c_context,
    srcStore: *mut Store,
    dstStore: *mut Store,
    path: *const StorePath,
    repair: bool,
    checkSigs: bool,
) -> nix_err
Expand description

Copy a path from one store to another.

ยงArguments

  • context [out] - Optional, stores error information
  • srcStore [in] - nix source store reference
  • dstStore [in] - nix destination store reference
  • path [in] - The path to copy
  • repair [in] - Whether to repair the path
  • checkSigs [in] - Whether to check path signatures are trusted before copying