gocb

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2017 License: GPL-3.0 Imports: 8 Imported by: 0

README

gocb

Check if all backup files (Go Check Backup)

Checks if all files of a src folder are somewhere inside of a dst folder.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DBName = "_gocb.db"
View Source
var InitializeAll = false

InitializeAll defines if all entries are generated completely new

View Source
var Verbose = false

Functions

This section is empty.

Types

type GOCBFile

type GOCBFile struct {
	Path    string `storm:"id"`
	Name    string
	Size    int64
	ModTime time.Time
}

func FolderInit

func FolderInit(fpath string) ([]GOCBFile, error)

type GOCBFiles

type GOCBFiles []GOCBFile

type HashFiler

type HashFiler interface {
	HashFile(filepath string) string
}

HashFiler enables to change the hash algorithm

var Hasher HashFiler = shaHasher{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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