#[cfg(feature = "private-dir")]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum OwnerPrivateDirectoryOutcome {
AlreadyPrivate,
Hardened,
}
#[cfg(feature = "private-dir")]
pub fn ensure_owner_private_directory(
path: &std::path::Path,
) -> std::io::Result<OwnerPrivateDirectoryOutcome> {
crate::private_dir_ensure_owner_private_directory(path)
}
#[cfg(feature = "private-dir")]
pub fn owner_private_directory(path: &std::path::Path) -> std::io::Result<bool> {
crate::private_dir_owner_private_directory(path)
}