Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jontified committed Nov 7, 2023
1 parent 887dbb7 commit 1593bf4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mullvad-paths/src/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ fn get_wide_str<S: AsRef<OsStr>>(string: S) -> Vec<u16> {
wide_string
}

/// Recursively creates directories for the given path with the given security attributes
/// only directories that do not already exist and the leaf directory will have their permissions set.
/// Recursively creates directories, if set_security_permissions is true it will set
/// file permissions corresponding to Authenticated Users - Read Only and Administrators - Full
/// Access. Only directories that do not already exist and the leaf directory will have their permissions set.
pub fn create_dir_recursive(path: &Path, set_security_permissions: bool) -> Result<()> {
if set_security_permissions {
create_dir_with_permissions_recursive(path)
Expand Down

0 comments on commit 1593bf4

Please sign in to comment.