Skip to content

Commit

Permalink
[antlir2] Add Hash annotation to Remove feature struct
Browse files Browse the repository at this point in the history
Test Plan: CI

Reviewed By: justintrudell

Differential Revision: D50562592

fbshipit-source-id: e8b934bc2ee89ce9d120a6292a2291301039693f
  • Loading branch information
Naveed Golafshani authored and facebook-github-bot committed Oct 24, 2023
1 parent e4a00bd commit 1b4feac
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion antlir/antlir2/features/remove.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,17 @@ use tracing::trace;

pub type Feature = Remove;

#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Deserialize, Serialize)]
#[derive(
Debug,
Clone,
Hash,
PartialEq,
Eq,
PartialOrd,
Ord,
Deserialize,
Serialize
)]
pub struct Remove {
pub path: PathInLayer,
pub must_exist: bool,
Expand Down

0 comments on commit 1b4feac

Please sign in to comment.