tokens

package
v0.0.0-...-42c81d0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2015 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package tokens contains constant values that are used by several packages.

Index

Constants

View Source
const (
	// The DB bucket that contains general-purpose Bazil data not tied to
	// any specific volume.
	BucketBazil = "bazil"

	// The DB bucket that contains a sub-bucket per volume, named by
	// the volume ID.
	BucketVolume = "volume"

	// The DB bucket that contains a key per volume, named by the
	// human-readable volume name.
	BucketVolName = "volname"
)
View Source
const (
	InodeRoot        uint64 = 1
	InodeSnap        uint64 = 2
	MaxReservedInode uint64 = 1023
)
View Source
const (
	InodeKindMask    uint64 = 1 << 63
	InodeKindDynamic uint64 = 1 << 63
	InodeKindNormal  uint64 = 0
)

the top half of inode space is reserved for dynamically allocated inodes

View Source
const Blake2bPersonalizationConvergentKey = "bazil-crypt-key"

Blake2b personalization prefix for convergent encryption keys

View Source
const Blake2bPersonalizationConvergentNonce = "bazil-crypt-nonc"

Blake2b personalization prefix for convergent encryption nonces

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL