feat(tvix/store/nixpath): expose digest and name fields
These can be accessed directly. Change-Id: I71dc84f982820d53f319efefbed9b9055034954d Reviewed-on: https://cl.tvl.fyi/c/depot/+/7724 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
0b56d9f21b
commit
2df642231c
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ pub enum ParseNixPathError {
|
|||
|
||||
#[derive(Debug, PartialEq, Eq)]
|
||||
pub struct NixPath {
|
||||
digest: [u8; PATH_HASH_SIZE],
|
||||
name: String,
|
||||
pub digest: [u8; PATH_HASH_SIZE],
|
||||
pub name: String,
|
||||
}
|
||||
|
||||
impl NixPath {
|
||||
|
|
Loading…
Reference in a new issue