file

package
v1.0.0-alpha22 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2018 License: AGPL-3.0 Imports: 11 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

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

func (*File) Close

func (f *File) Close() error

func (*File) First

func (f *File) First() (version uint64, err error)

func (*File) GetDirections

func (f *File) GetDirections(version uint64) map[source.Direction]bool

func (*File) GetLocalVersion

func (f *File) GetLocalVersion() (version uint64, err error)

func (*File) GetUnappliedMigrations

func (f *File) GetUnappliedMigrations(version uint64) (versions []uint64)

func (*File) Next

func (f *File) Next(version uint64) (nextVersion uint64, err error)

func (*File) Open

func (f *File) Open(url string, logger *log.Logger) (source.Driver, error)

func (*File) Prev

func (f *File) Prev(version uint64) (prevVersion uint64, err error)

func (*File) ReadDown

func (f *File) ReadDown(version uint64) (r io.ReadCloser, identifier string, fileName string, err error)

func (*File) ReadMetaDown

func (f *File) ReadMetaDown(version uint64) (r io.ReadCloser, identifier string, fileName string, err error)

func (*File) ReadMetaUp

func (f *File) ReadMetaUp(version uint64) (r io.ReadCloser, identifier string, fileName string, err error)

func (*File) ReadUp

func (f *File) ReadUp(version uint64) (r io.ReadCloser, identifier string, fileName string, err error)

Jump to

Keyboard shortcuts

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