Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ impl FsStats {
self.free_space
}

/// Returns the available space in bytes to non-priveleged users in the file
/// Returns the available space in bytes to non-privileged users in the file
/// system containing the provided path.
pub fn available_space(&self) -> u64 {
self.available_space
Expand Down Expand Up @@ -175,7 +175,7 @@ pub fn free_space<P>(path: P) -> Result<u64> where P: AsRef<Path> {
statvfs(path).map(|stat| stat.free_space)
}

/// Returns the available space in bytes to non-priveleged users in the file
/// Returns the available space in bytes to non-privileged users in the file
/// system containing the provided path.
pub fn available_space<P>(path: P) -> Result<u64> where P: AsRef<Path> {
statvfs(path).map(|stat| stat.available_space)
Expand Down