[][src]Function fs3::allocation_granularity

pub fn allocation_granularity<P>(path: P) -> Result<u64> where
    P: AsRef<Path>, 

Returns the filesystem's disk space allocation granularity in bytes. The provided path may be for any file in the filesystem.

On Posix, this is equivalent to the filesystem's block size. On Windows, this is equivalent to the filesystem's cluster size.