sv_paper

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Legacy

type Legacy interface {
	List(filterBy string, onEntry func(docId string)) error
	ListAccessed(onEntry func(docId string)) error
	ListCreated(onEntry func(docId string)) error
	Metadata(docId string, format string) (export *mo_paper.LegacyPaper, err error)
	Export(docId string, format string) (export *mo_paper.LegacyPaper, exportPath mo_path.FileSystemPath, err error)
}

func NewLegacy

func NewLegacy(ctx dbx_context.Context) Legacy

type Paper

type Paper interface {
	Create(path mo_path.DropboxPath, format string, content []byte) (paper mo_paper.PaperUpdate, err error)
	Overwrite(path mo_path.DropboxPath, format string, content []byte) (paper mo_paper.PaperUpdate, err error)
	Append(path mo_path.DropboxPath, format string, content []byte) (paper mo_paper.PaperUpdate, err error)
	Prepend(path mo_path.DropboxPath, format string, content []byte) (paper mo_paper.PaperUpdate, err error)
}

func New

func New(ctx dbx_context.Context) Paper

Jump to

Keyboard shortcuts

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