Struct ar::Header [] [src]

pub struct Header { /* fields omitted */ }

Representation of an archive entry header.

Methods

impl Header
[src]

Creates a header with the given file identifier and size, and all other fields set to zero.

Creates a header with the given file identifier and all other fields set from the given filesystem metadata.

Returns the file identifier.

Returns the last modification time in Unix time format.

Returns the value of the owner's user ID field.

Returns the value of the groups's user ID field.

Returns the mode bits for this file.

Returns the length of the file, in bytes.