version

package
v0.0.0-...-da116bd Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2015 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 Version

type Version struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

Version is an implementation of dir.Version

func (*Version) Creator

func (v *Version) Creator() dir.User

Creator returns the version's creator dir.User

func (*Version) Delete

func (v *Version) Delete() error

Delete deletes the Version

func (*Version) File

func (v *Version) File() dir.File

File returns the version's File

func (*Version) SetCreator

func (v *Version) SetCreator(u dir.User) error

SetCreator sets the version's dir.User

func (*Version) SetFile

func (v *Version) SetFile(file dir.File) error

SetFile sets the version's File

func (*Version) SetTime

func (v *Version) SetTime(t time.Time) error

SetTime sets the version's time.Time

func (*Version) String

func (v *Version) String() string

func (*Version) Time

func (v *Version) Time() time.Time

Time returns the version's time.Time

func (*Version) UUID

func (v *Version) UUID() uuid.UUID

UUID returns the version's UUID

Jump to

Keyboard shortcuts

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