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.

Sets the file identifier.

Returns the last modification time in Unix time format.

Sets the last modification time in Unix time format.

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

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

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

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

Returns the mode bits for this file.

Sets the mode bits for this file.

Returns the length of the file, in bytes.

Sets the length of the file, in bytes.