win-file-id 0.1.0

Utility for reading file IDs (Windows)
Documentation

Win File Id

» Docs

A utility to read file IDs.

Modern file systems assign a unique ID to each file. On Windows it is called file index. Together with the device id, a file can be identified uniquely on a device at a given time.

Keep in mind though, that IDs may be re-used at some point.

Example

let file_id = win_file_id::get_file_id(path).unwrap();

println!("{file_id:?}");

Features

  • serde for serde support, off by default