make some fields public

This commit is contained in:
Fabian Stamm 2024-08-18 00:07:19 +02:00
parent 62899a7d26
commit d1ef6513ce
3 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View File

@ -31,7 +31,7 @@ checksum = "a5f43f184355eefb8d17fc948dbecf6c13be3c141f20d834ae842193a448c72a"
[[package]]
name = "posix-acl"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"acl-sys",
"anyhow",

View File

@ -1,6 +1,6 @@
[package]
name = "posix-acl"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
[dependencies]

View File

@ -64,11 +64,11 @@ impl Qualifier {
}
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)]
pub struct ACLEntry(Qualifier, PermSet);
pub struct ACLEntry(pub Qualifier, pub PermSet);
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)]
pub struct PosixACL {
entries: Vec<ACLEntry>,
pub entries: Vec<ACLEntry>,
}
impl PosixACL {