Function holochain::prelude::kitsune_p2p::dependencies::kitsune_p2p_types::dependencies::lair_keystore_api::dependencies::tokio::fs::set_permissions
source · pub async fn set_permissions(
path: impl AsRef<Path>,
perm: Permissions
) -> impl Future<Output = Result<(), Error>>
Expand description
Changes the permissions found on a file or a directory.
This is an async version of std::fs::set_permissions