Skip to content

Commit

Permalink
[antlir] Add hash support to LayerInfo
Browse files Browse the repository at this point in the history
Test Plan: CI

Reviewed By: justintrudell

Differential Revision: D49021480

fbshipit-source-id: b28ae3e2fe6d553b7fc5777cc809d9800131780e
  • Loading branch information
Naveed Golafshani authored and facebook-github-bot committed Sep 7, 2023
1 parent d137df2 commit f1b3058
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion antlir/antlir2/antlir2_features/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,17 @@ pub type BuckOutSource = PathBuf;
pub type PathInLayer = PathBuf;

/// Serialized buck2 LayerInfo provider
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Deserialize, Serialize)]
#[derive(
Debug,
Clone,
PartialEq,
Eq,
PartialOrd,
Ord,
Deserialize,
Serialize,
Hash
)]
pub struct LayerInfo {
pub label: Label,
pub subvol_symlink: PathBuf,
Expand Down

0 comments on commit f1b3058

Please sign in to comment.