files

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: May 2, 2014 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package files provides a set type to track local/remote files with newness checks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Set

type Set struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewSet

func NewSet() *Set

func (*Set) Availability added in v0.7.0

func (m *Set) Availability(name string) bitset

func (*Set) Changes added in v0.7.0

func (m *Set) Changes(id uint) uint64

func (*Set) Get added in v0.7.0

func (m *Set) Get(id uint, file string) scanner.File

func (*Set) GetGlobal added in v0.7.0

func (m *Set) GetGlobal(file string) scanner.File

func (*Set) Global added in v0.7.0

func (m *Set) Global() []scanner.File

func (*Set) Have added in v0.7.0

func (m *Set) Have(id uint) []scanner.File

func (*Set) Need

func (m *Set) Need(id uint) []scanner.File

func (*Set) Replace added in v0.7.0

func (m *Set) Replace(id uint, fs []scanner.File)

func (*Set) ReplaceWithDelete added in v0.7.0

func (m *Set) ReplaceWithDelete(id uint, fs []scanner.File)

func (*Set) Update added in v0.7.0

func (m *Set) Update(id uint, fs []scanner.File)

Jump to

Keyboard shortcuts

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