Struct ar::Header [] [src]

pub struct Header { /* fields omitted */ }

Representation of an archive entry header.

Methods

impl Header
[src]

[src]

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

[src]

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

[src]

Returns the file identifier.

[src]

Sets the file identifier.

[src]

Returns the last modification time in Unix time format.

[src]

Sets the last modification time in Unix time format.

[src]

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

[src]

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

[src]

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

[src]

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

[src]

Returns the mode bits for this file.

[src]

Sets the mode bits for this file.

[src]

Returns the length of the file, in bytes.

[src]

Sets the length of the file, in bytes.