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
2 changes: 2 additions & 0 deletions src/fs/fields.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ pub type ino_t = u64;
pub type nlink_t = u64;

/// The type of a file’s timestamp (creation, modification, access, etc).
#[allow(unused)]
pub type time_t = i64;

/// The type of a file’s user ID.
Expand Down Expand Up @@ -207,6 +208,7 @@ pub struct DeviceIDs {
}

/// One of a file’s timestamps (created, accessed, or modified).
#[allow(unused)]
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord)]
pub struct Time {
pub seconds: time_t,
Expand Down
Loading