DoxigAlpha

validateAttributeEnding

Function parameters

Parameters

#
reader:*std.Io.Reader

Type definitions in this namespace

Types

#
Diagnostics
Provide this to receive detailed error messages.
PipeOptions
pipeToFileSystem options
FileKind
Type of the file returned by iterator `next` method.
Iterator
Iterator over entries in the tar file represented by reader.

Saves tar file content to the file systems.

Functions

#
pipeToFileSystem
Saves tar file content to the file systems.

Source

Implementation

#
fn validateAttributeEnding(reader: *std.Io.Reader) !void {
    if (try reader.takeByte() != '\n') return error.PaxInvalidAttributeEnd;
}