environment_service

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvironmentService

type EnvironmentService interface {
	RootFolder() string
	GetWorkingDirectory() string
	GetEditor() string
	SetEncoding(enabled bool)
	Encoding() bool
	UpdateTopLevelDatabase(conf *models.GoogleDriveConfig, dir string) error
	FetchTopLevel() ([]models.GoogleDriveConfig, error)
	SetCoder(codec *models.Codec)
	GetCodec() *models.Codec
	ListSyncInfos()
	LoadCache(index int) *models.GoogleDriveConfig
	LoadFromTopLevelDatabase(id string) (*models.GoogleDriveConfig, error)
	LoadFromTopLevelDatabaseByFolderId(folderId string) (*models.GoogleDriveConfig, error)
}

func New

func New() EnvironmentService

Jump to

Keyboard shortcuts

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