download

package
v0.0.0-...-5a94a59 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cat

func Cat(hash []byte, sql *sql.Tx) io.Reader

func CatEz

func CatEz(hash []byte) io.Reader

func CatReadCloser

func CatReadCloser(hash []byte, tx *sql.Tx) io.ReadCloser

func QueryBase

func QueryBase(arg int32) string

func Restore

func Restore(src string, dest string, timestamp int64)

func RestoreDB

func RestoreDB(path string)

Types

type Item

type Item struct {
	// contains filtered or unexported fields
}

one path on disk we are going to write, and what should be written there

type Restoration

type Restoration struct {
	// contains filtered or unexported fields
}

one "thing" (hash) to restore (potentially to more than 1 destination on disk)

Jump to

Keyboard shortcuts

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