Categorygithub.com/cznic/file
modulepackage
0.0.0-20181122101858-666493a488b5
Repository: https://github.com/cznic/file.git
Documentation: pkg.go.dev

# README

github.com/cznic/file has moved to modernc.org/file (vcs).

Please update your import paths to modernc.org/file.

This repo is now archived.

# Functions

Map returns a File backed by memory mapping f or an error, if any.
Mem returns a volatile File backed only by process memory or an error, if any.
NewAllocator returns a newly created Allocator managing f or an eror, if any.
NewWAL returns a newly created WAL or an error, if any.

# Constants

AllocAlign defines File offsets of allocations are 0 (mod AllocAlign).
LowestAllocationOffset is the offset of the first allocation of an empty File.

# Structs

Allocator manages allocation of file blocks within a File.
VerifyOptions optionally provide more information from Verify.
WAL implements a write ahead log of F using W.

# Interfaces

File is an os.File-like entity.