sv_file_revision

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorUnexpectedResponseFormat = errors.New("unexpected response format")
)

Functions

This section is empty.

Types

type Revision

type Revision interface {
	// Returns revisions with the same file path as identified by the latest file entry at the given file path or id.
	List(path mo_path.DropboxPath) (revs *mo_file_revision.Revisions, err error)

	// Returns revisions with the same file id as identified by the latest file entry at the given file path or id.
	ListById(path mo_path.DropboxPath) (revs *mo_file_revision.Revisions, err error)
}

func New

func New(ctx dbx_context.Context, opt ...RevisionOpt) Revision

type RevisionOpt

type RevisionOpt func(o *RevisionOpts) *RevisionOpts

type RevisionOpts

type RevisionOpts struct {
	Limit int
}

Jump to

Keyboard shortcuts

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