feat(nix-compat/derivation): make fod_digest public
This will be used inside glue, to populate the CA field. Change-Id: I52350d66ad09c90c4e9f3bc6ea44fba4427f1576 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10946 Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de> Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
34a1ff291a
commit
d4d46b9d8a
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ impl Derivation {
|
||||||
/// TODO: this is kinda the string from [build_ca_path] with a
|
/// TODO: this is kinda the string from [build_ca_path] with a
|
||||||
/// [CAHash::Flat], what's fed to `build_store_path_from_fingerprint_parts`
|
/// [CAHash::Flat], what's fed to `build_store_path_from_fingerprint_parts`
|
||||||
/// (except the out_output.path being an empty string)
|
/// (except the out_output.path being an empty string)
|
||||||
fn fod_digest(&self) -> Option<[u8; 32]> {
|
pub fn fod_digest(&self) -> Option<[u8; 32]> {
|
||||||
if self.outputs.len() != 1 {
|
if self.outputs.len() != 1 {
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue