make some fields public
This commit is contained in:
parent
62899a7d26
commit
d1ef6513ce
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -31,7 +31,7 @@ checksum = "a5f43f184355eefb8d17fc948dbecf6c13be3c141f20d834ae842193a448c72a"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "posix-acl"
|
name = "posix-acl"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"acl-sys",
|
"acl-sys",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "posix-acl"
|
name = "posix-acl"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
@ -64,11 +64,11 @@ impl Qualifier {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)]
|
#[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)]
|
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)]
|
||||||
pub struct PosixACL {
|
pub struct PosixACL {
|
||||||
entries: Vec<ACLEntry>,
|
pub entries: Vec<ACLEntry>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl PosixACL {
|
impl PosixACL {
|
||||||
|
Loading…
Reference in New Issue
Block a user