Skip to main content

inode_generation

Function inode_generation 

Source
pub fn inode_generation(file: &File) -> Result<u32>
Expand description

The generation number of the inode behind file.

Together with the volume and inode number it names one file for its whole life. A filesystem that cannot report one, and a platform that cannot ask, is an error: nothing here falls back to a weaker name.

ยงErrors

Unsupported where the filesystem or platform has no generation number, otherwise the error of the call.