chore(tvix/store): derive Clone for StorePath
Change-Id: Id325afa766b0bd2a3d04cf538f13e77692a22687 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7829 Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
a35dadf9f0
commit
43d83274e6
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ pub enum ParseStorePathError {
|
||||||
/// The name is usually used to describe the pname and version of a package.
|
/// The name is usually used to describe the pname and version of a package.
|
||||||
/// Derivations paths can also be represented as store paths, they end
|
/// Derivations paths can also be represented as store paths, they end
|
||||||
/// with .drv.
|
/// with .drv.
|
||||||
#[derive(Debug, PartialEq, Eq)]
|
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||||
pub struct StorePath {
|
pub struct StorePath {
|
||||||
pub digest: [u8; DIGEST_SIZE],
|
pub digest: [u8; DIGEST_SIZE],
|
||||||
pub name: String,
|
pub name: String,
|
||||||
|
|
Loading…
Reference in a new issue