filetree

package
v0.0.0-...-b178995 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filetree

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

Filetree client

func New

func New(client *clientutil.ClientUtil) *Filetree

serverAddr should't have a trailing space

func (*Filetree) GC

func (f *Filetree) GC(ns, name string, rev int64) error

GC performs a garbage collection to save the latest filetreee snapshot

func (*Filetree) MakeSnapshot

func (f *Filetree) MakeSnapshot(ref, fs, message, userAgent string) (int64, error)

MakeSnaphot create a FS snapshot from a tree reference

Jump to

Keyboard shortcuts

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