dxo

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupID added in v0.0.15

type BackupID int

BackupID ...

type ContentTypeID added in v0.1.1

type ContentTypeID int

ContentTypeID ... like '8'

type ContentTypeName added in v0.1.1

type ContentTypeName string

ContentTypeName ... like 'text/html' , 'project/java-pom'

func (ContentTypeName) String added in v0.1.1

func (value ContentTypeName) String() string

type ContentTypeURN added in v0.1.1

type ContentTypeURN URN

ContentTypeURN like 'urn:projecttype:{{name}}'

func NewContentTypeURN added in v0.1.1

func NewContentTypeURN(name string) ContentTypeURN

NewContentTypeURN ...

type DesktopSessionID

type DesktopSessionID UUID

DesktopSessionID ...

type ExampleID

type ExampleID int

ExampleID ...

type ExecutableGroupID

type ExecutableGroupID int

ExecutableGroupID ...

type ExecutableGroupName

type ExecutableGroupName string

ExecutableGroupName ...

type ExecutableID

type ExecutableID int

ExecutableID ...

type ExecutableURN added in v0.1.1

type ExecutableURN URN

ExecutableURN like 'urn:executable:{{namespace.name}}#{{simpleName}}'

func NewExecutableURN added in v0.1.1

func NewExecutableURN(name string) ExecutableURN

NewExecutableURN ...

func (ExecutableURN) String added in v0.1.1

func (name ExecutableURN) String() string

type FileState

type FileState string

FileState 表示文件或者目录的状态

const (
	FileStateUndefine    FileState = ""
	FileStateInit        FileState = "init"
	FileStateUntracked   FileState = "untracked"
	FileStateReady       FileState = "ready"
	FileStateOffline     FileState = "offline"
	FileStateMoved       FileState = "moved"
	FileStateUnknowError FileState = "error"
)

定义文件或者目录的状态

type IntentID

type IntentID int

IntentID ...

type IntentTemplateID

type IntentTemplateID int

IntentTemplateID ...

type IntentTemplateSelector added in v0.1.0

type IntentTemplateSelector string

IntentTemplateSelector 用字符串表示一个 Intent 模板选择器

func NewIntentTemplateSelector added in v0.1.0

func NewIntentTemplateSelector(sel string) IntentTemplateSelector

NewIntentTemplateSelector make a new IntentTemplateSelector

func (IntentTemplateSelector) String added in v0.1.0

func (value IntentTemplateSelector) String() string

type IntentTemplateSelectorBuilder added in v0.1.0

type IntentTemplateSelectorBuilder struct {
	Method string // [open|insert|update|edit|...]
	Target string // [repository|worktree|project||]
	Type   string // [project-type|content-type]
	With   string // [exe-name]
}

IntentTemplateSelectorBuilder 用来创建 IntentTemplateSelector

func (*IntentTemplateSelectorBuilder) Create added in v0.1.0

Create build a new IntentTemplateSelector

type LocalRepositoryID

type LocalRepositoryID int

LocalRepositoryID ...

type LocationClass added in v0.1.1

type LocationClass string

LocationClass 表示 Location 的各种类型

const (
	LocationGitWorktree   LocationClass = "git.worktree"   // for Git Worktree
	LocationGitSubmodule  LocationClass = "git.submodule"  // for Git Submodule
	LocationGitConfig     LocationClass = "git.config"     // for Git Repository Config
	LocationGitRepository LocationClass = "git.repository" // for LocalRepository
	LocationProject       LocationClass = "project"        // the project config file or dir
	LocationFolder        LocationClass = "folder"
	LocationExecutable    LocationClass = "executable"
)

定义 Location 的各种类型

func (LocationClass) String added in v0.1.1

func (value LocationClass) String() string

type LocationID added in v0.1.1

type LocationID int

LocationID ...

type MIMETypeID added in v0.0.14

type MIMETypeID int

MIMETypeID ...

type MainRepositoryID

type MainRepositoryID int

MainRepositoryID ...

type MediaID

type MediaID int

MediaID ...

type NamespaceID added in v0.1.1

type NamespaceID int

NamespaceID ...

type NamespaceURN added in v0.1.1

type NamespaceURN URN

NamespaceURN like 'urn:namespace:{{name}}'

func NewNamespaceURN added in v0.1.1

func NewNamespaceURN(name string) NamespaceURN

NewNamespaceURN ...

func (NamespaceURN) String added in v0.1.1

func (name NamespaceURN) String() string

type PlatformID

type PlatformID int

PlatformID ...

type ProfileID

type ProfileID int

ProfileID ...

type ProjectGroupID

type ProjectGroupID int

ProjectGroupID ...

type ProjectGroupName

type ProjectGroupName string

ProjectGroupName ...

type ProjectID

type ProjectID int

ProjectID ...

type RemoteRepositoryID

type RemoteRepositoryID int

RemoteRepositoryID ...

type RepositoryGroupID

type RepositoryGroupID int

RepositoryGroupID ...

type RepositoryGroupName

type RepositoryGroupName string

RepositoryGroupName ...

type SettingID added in v0.0.14

type SettingID int

SettingID ...

type SetupID added in v0.1.0

type SetupID int

SetupID ...

type SoftwarePackageID added in v0.0.14

type SoftwarePackageID int

SoftwarePackageID ...

type SoftwarePackageURN added in v0.1.1

type SoftwarePackageURN URN

SoftwarePackageURN like 'urn:package:{{name}}'

func NewSoftwarePackageURN added in v0.1.1

func NewSoftwarePackageURN(name string) SoftwarePackageURN

NewSoftwarePackageURN ...

func (SoftwarePackageURN) String added in v0.1.1

func (name SoftwarePackageURN) String() string

type SoftwareSetID added in v0.1.1

type SoftwareSetID int

SoftwareSetID ...

type StringList

type StringList string

StringList 表示一个包含多个词组的字符串,各个元素之间以逗号分隔

func NewStringList added in v0.1.0

func NewStringList(src []string) StringList

NewStringList ... 根据 src 创建 StringList

func (StringList) Array added in v0.1.0

func (value StringList) Array() []string

Array ...

func (StringList) String added in v0.1.0

func (value StringList) String() string

type StringListCRLF added in v0.1.0

type StringListCRLF string

StringListCRLF 表示一个包含多个词组的字符串,各个元素之间以 CR|LF 分隔

func NewStringListCRLF added in v0.1.0

func NewStringListCRLF(src []string) StringListCRLF

NewStringListCRLF ... 根据 src 创建 StringListCRLF

func (StringListCRLF) Array added in v0.1.0

func (value StringListCRLF) Array() []string

Array ...

func (StringListCRLF) String added in v0.1.0

func (value StringListCRLF) String() string

type StringMap added in v0.1.0

type StringMap string

StringMap 表示一个stringify 的 map[string]string,它的格式参考git.config

func NewStringMap added in v0.1.0

func NewStringMap(src map[string]string) StringMap

NewStringMap ... 根据 src 创建新的 StringMap

func (StringMap) Map added in v0.1.0

func (value StringMap) Map() map[string]string

Map ...

func (StringMap) String added in v0.1.0

func (value StringMap) String() string

type URN added in v0.1.1

type URN string

URN 以字符串形式表示一个类似 'urn:type:id' 格式的名称

func NewURN added in v0.1.1

func NewURN(typeName string, id string) URN

NewURN ...

func (URN) String added in v0.1.1

func (name URN) String() string

type UUID

type UUID util.Hex

UUID 以hex字符串的形式表示一个UUID

type UserID

type UserID int

UserID ...

type UserName

type UserName string

UserName ...

type WorktreeID added in v0.1.0

type WorktreeID int

WorktreeID ...

Jump to

Keyboard shortcuts

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