forgepb

package module
v0.0.202 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2025 License: GPL-3.0 Imports: 39 Imported by: 28

README

protobuf definition files for forge

Documentation

Overview

Example

This example is copied from rill to understand golang docs

package main

import (
	"fmt"
)

func main() {
	fmt.Println("nothing here yet")
}
Example (Batching)

This example is copied from rill to understand golang docs

package main

import (
	"fmt"
)

func main() {
	fmt.Println("nothing batching here yet")
}

Index

Examples

Constants

This section is empty.

Variables

View Source
var (
	ForgeMode_name = map[int32]string{
		0: "UNKNOWN",
		1: "NEWUSER",
		2: "MASTER",
		3: "DEVEL",
		4: "USER",
		5: "NORMAL",
		6: "CLEAN",
		7: "CUSTOM",
		8: "GOLANG",
	}
	ForgeMode_value = map[string]int32{
		"UNKNOWN": 0,
		"NEWUSER": 1,
		"MASTER":  2,
		"DEVEL":   3,
		"USER":    4,
		"NORMAL":  5,
		"CLEAN":   6,
		"CUSTOM":  7,
		"GOLANG":  8,
	}
)

Enum value maps for ForgeMode.

View Source
var ErrorNotAllReposOnDevel error = log.Errorf("not all repos on are on the devel branch")
View Source
var ErrorNotAllReposOnMaster error = log.Errorf("not all repos on are on the master branch")
View Source
var ErrorNotAllReposOnUser error = log.Errorf("not all repos on are on the user branch")
View Source
var File_forgeConfig_proto protoreflect.FileDescriptor
View Source
var File_patch_proto protoreflect.FileDescriptor
View Source
var INFO *log.LogFlag
View Source
var WARN *log.LogFlag

Functions

func FindGoImport added in v0.0.113

func FindGoImport(url string) (string, error)

check the server for the current go path to git url mapping for example: This will check go.wit.com for "go.wit.com/apps/go-clone" and return where the URL to do git clone should be

func GetNamespace added in v0.0.111

func GetNamespace(url string) string

GetNamesapce removes http://, https://, and .git suffix from the given URL if present.

func RunGitClone added in v0.0.39

func RunGitClone(newdir, basedir, giturl string) error

git clone (also downloads git notes) newdir = helloworld basedir = /home/jcarr/go/src/go.wit.com/apps giturl = https://gitea.wit.com/gui/helloworld

func RunGoList added in v0.0.113

func RunGoList(url string) (string, error)

func ValidGoVersion added in v0.0.44

func ValidGoVersion(ver string) (bool, error)

Types

type Cache added in v0.0.191

type Cache struct {
	Uuid     string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`         // `autogenpb:uuid:21ef38cd-7564-49e4-99df-7e7e4c957e32`
	Version  string   `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`   // `autogenpb:version:v0.0.1`
	Name     string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`         // will use ~/.cache/forge/name.pb & ~/.config/forge/name.text
	Dirs     []string `protobuf:"bytes,4,rep,name=dirs,proto3" json:"dirs,omitempty"`         // what dirs are to be scanned in for this cache.pb file
	Filename string   `protobuf:"bytes,5,opt,name=Filename,proto3" json:"Filename,omitempty"` // what to use for the user branch (default ENV{USER})
	// contains filtered or unexported fields
}

func (*Cache) Descriptor deprecated added in v0.0.191

func (*Cache) Descriptor() ([]byte, []int)

Deprecated: Use Cache.ProtoReflect.Descriptor instead.

func (*Cache) FormatJSON added in v0.0.191

func (v *Cache) FormatJSON() string

human readable JSON

func (*Cache) FormatTEXT added in v0.0.191

func (v *Cache) FormatTEXT() string

apparently this isn't stable, but it's awesomely better https://protobuf.dev/reference/go/faq/#unstable-text it's brilliant for config files!

func (*Cache) GetDirs added in v0.0.191

func (x *Cache) GetDirs() []string

func (*Cache) GetFilename added in v0.0.191

func (x *Cache) GetFilename() string

func (*Cache) GetName added in v0.0.191

func (x *Cache) GetName() string

func (*Cache) GetUuid added in v0.0.191

func (x *Cache) GetUuid() string

func (*Cache) GetVersion added in v0.0.191

func (x *Cache) GetVersion() string

func (*Cache) Marshal added in v0.0.191

func (v *Cache) Marshal() ([]byte, error)

marshal to wire. This is called winning.

func (*Cache) MarshalJSON added in v0.0.191

func (v *Cache) MarshalJSON() ([]byte, error)

marshal json

func (*Cache) ProtoMessage added in v0.0.191

func (*Cache) ProtoMessage()

func (*Cache) ProtoReflect added in v0.0.191

func (x *Cache) ProtoReflect() protoreflect.Message

func (*Cache) Reset added in v0.0.191

func (x *Cache) Reset()

func (*Cache) Save added in v0.0.191

func (pb *Cache) Save() error

func (*Cache) String added in v0.0.191

func (x *Cache) String() string

func (*Cache) Unmarshal added in v0.0.191

func (v *Cache) Unmarshal(data []byte) error

unmarshal from wire. You have won.

func (*Cache) UnmarshalJSON added in v0.0.191

func (v *Cache) UnmarshalJSON(data []byte) error

unmarshal json

func (*Cache) UnmarshalTEXT added in v0.0.191

func (v *Cache) UnmarshalTEXT(data []byte) error

unmarshalTEXT. This reads the .text config file back in after the user edits it

type CacheScanner added in v0.0.191

type CacheScanner struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*CacheScanner) Next added in v0.0.191

func (it *CacheScanner) Next() *Cache

Next() returns the next thing in the array

func (*CacheScanner) Scan added in v0.0.191

func (it *CacheScanner) Scan() bool

type Forge added in v0.0.7

type Forge struct {
	Config  *ForgeConfigs // config repos for readonly, private, etc
	Repos   *gitpb.Repos  // the repo protobufs
	Patches *Patches      // patches that are in progress
	Sets    *Sets         // patches that are in progress
	// contains filtered or unexported fields
}

maybe an interface someday?

func Init added in v0.0.7

func Init() (*Forge, error)

func InitByAppname added in v0.0.134

func InitByAppname(argname string) (*Forge, error)

func InitByFullpath added in v0.0.154

func InitByFullpath(filename string) (*Forge, error)

func (*Forge) AddFullPath added in v0.0.36

func (f *Forge) AddFullPath(fulldir string) *gitpb.Repo

func (*Forge) AddNamespaceDir added in v0.0.113

func (f *Forge) AddNamespaceDir(ns string, fullpath string) (*gitpb.Repo, error)

used by the forge daemon

func (*Forge) AddNewPatch added in v0.0.131

func (f *Forge) AddNewPatch(patch *Patch) bool

adds submitted patches not If the patch was actually new, return true

func (*Forge) AddPatch added in v0.0.131

func (f *Forge) AddPatch(patch *Patch) bool

adds a patch. returns true if patch is new

func (*Forge) AddPatchset added in v0.0.118

func (f *Forge) AddPatchset(pb *Set) bool

adds a patchset or just the patches

func (*Forge) Build added in v0.0.13

func (f *Forge) Build(repo *gitpb.Repo, userFlags []string) error

func (*Forge) CheckDirty added in v0.0.123

func (f *Forge) CheckDirty() *gitpb.Repos

func (*Forge) CheckDirtyQuiet added in v0.0.125

func (f *Forge) CheckDirtyQuiet()

func (*Forge) CheckOverride added in v0.0.28

func (f *Forge) CheckOverride(gopath string) bool

TODO: this is a dumb hack & needs to be updated to talk to forged

func (*Forge) CheckUpdatingGoDeps added in v0.0.195

func (f *Forge) CheckUpdatingGoDeps(godeps *gitpb.GoDeps, upgrading *gitpb.Repos) error

checks to see if the any of the go dependancies are packages that need to be upgraded. If found, returns that conflict namespace

func (*Forge) CleanGoDepsCheckOk added in v0.0.65

func (f *Forge) CleanGoDepsCheckOk(check *gitpb.Repo) error

checks to see if every 'master' git branch version matches the go.sum file

func (*Forge) Clone added in v0.0.8

func (f *Forge) Clone(url string) (*gitpb.Repo, error)

func (*Forge) Close added in v0.0.177

func (f *Forge) Close() error

saves the config if there have been changes

func (*Forge) ConfigRill added in v0.0.113

func (f *Forge) ConfigRill(rillX int, rillY int)

func (*Forge) DeleteByGoPath added in v0.0.37

func (f *Forge) DeleteByGoPath(gopath string) bool

func (*Forge) DoAllCheckoutDevel added in v0.0.123

func (f *Forge) DoAllCheckoutDevel(force bool) error

is every repo on the devel branch?

func (*Forge) DoAllCheckoutDevelNew added in v0.0.125

func (f *Forge) DoAllCheckoutDevelNew(force bool) error

func (*Forge) DoAllCheckoutMaster added in v0.0.123

func (f *Forge) DoAllCheckoutMaster() error

trys to figure out if there is still something to update

func (*Forge) DoAllCheckoutUser added in v0.0.123

func (f *Forge) DoAllCheckoutUser(force bool) error

trys to figure out if there is still something to update

func (*Forge) FinalGoDepsCheckOk added in v0.0.16

func (f *Forge) FinalGoDepsCheckOk(check *gitpb.Repo) error

DOES NOT MODIFY ANYTHING

this is a final check to make sure, before pushing a golang repo, that the go.sum file has the correct and current version of every package

it re-scans the go.sum file. DOES NOT MODIFY ANYTHING this is the last thing to run to double check everything before 'git tag' or git push --tags

func (*Forge) FindAnyPath added in v0.0.39

func (f *Forge) FindAnyPath(dir string) *gitpb.Repo

tries any parent

func (*Forge) FindDirty added in v0.0.123

func (f *Forge) FindDirty() *gitpb.Repos

func (*Forge) GetBuildBaseTB added in v0.0.161

func (f *Forge) GetBuildBaseTB(pb *gitpb.Repos) *gitpb.ReposTable

func (*Forge) GetMode added in v0.0.93

func (f *Forge) GetMode() string

TODO: implement i18n with the protobuf's

func (*Forge) GetPackageVersion added in v0.0.161

func (f *Forge) GetPackageVersion(repo *gitpb.Repo) string

returns

func (*Forge) GetRepoType added in v0.0.161

func (f *Forge) GetRepoType(repo *gitpb.Repo) string

func (*Forge) GoClone added in v0.0.39

func (f *Forge) GoClone(gopath string) (*gitpb.Repo, error)

will not violate filesystem namespace always returns the path or a parent path

attemps to exec git clone based off of a golang path will transferse parent directories in case the path is a child of a git repo

returns *gitpb.Repo if already cloned

example gopath = go.wit.com/apps/go-clone or "go.googlesource.com/go/src/cmd/internal/pkgpath/" returns repo for "go.googlesource.com/go"

func (*Forge) InitPatchsets added in v0.0.127

func (f *Forge) InitPatchsets() error

func (*Forge) Install added in v0.0.15

func (f *Forge) Install(repo *gitpb.Repo, userFlags []string) error

func (*Forge) IsEverythingOnDevel added in v0.0.123

func (f *Forge) IsEverythingOnDevel() (int, int, int, error)

func (*Forge) IsEverythingOnMaster added in v0.0.114

func (f *Forge) IsEverythingOnMaster() (int, int, int, error)

func (*Forge) IsEverythingOnUser added in v0.0.123

func (f *Forge) IsEverythingOnUser() (int, int, int, error)

func (*Forge) IsGoWork added in v0.0.27

func (f *Forge) IsGoWork() bool

func (*Forge) IsModeClean added in v0.0.188

func (f *Forge) IsModeClean() bool

func (*Forge) IsModeDevel added in v0.0.188

func (f *Forge) IsModeDevel() bool

func (*Forge) IsModeGoLang added in v0.0.188

func (f *Forge) IsModeGoLang() bool

func (*Forge) IsModeMaster added in v0.0.188

func (f *Forge) IsModeMaster() bool

func (*Forge) IsModeNewUser added in v0.0.188

func (f *Forge) IsModeNewUser() bool

func (*Forge) IsModeNormal added in v0.0.188

func (f *Forge) IsModeNormal() bool

func (*Forge) IsModeUnknown added in v0.0.188

func (f *Forge) IsModeUnknown() bool

func (*Forge) IsModeUser added in v0.0.188

func (f *Forge) IsModeUser() bool

func (*Forge) IsPatchApplied added in v0.0.123

func (f *Forge) IsPatchApplied(newpatch *Patch) (*gitpb.Repo, bool)

func (*Forge) IsPrivate added in v0.0.7

func (f *Forge) IsPrivate(repo *gitpb.Repo) bool

a work in progress

func (*Forge) IsWritable added in v0.0.163

func (f *Forge) IsWritable(repo *gitpb.Repo) bool

move away from IsReadOnly. Only use repo.Namespace

func (*Forge) IterByMode added in v0.0.186

func (f *Forge) IterByMode() iter.Seq[*gitpb.Repo]

func (*Forge) MakeDevelPatchSet added in v0.0.28

func (f *Forge) MakeDevelPatchSet(name string) (*Set, error)

creates a patchset works from the user branches against the devel branches

func (*Forge) MakeGoWork added in v0.0.27

func (f *Forge) MakeGoWork() error

very much a hack job

func (*Forge) NewGoRepo added in v0.0.37

func (f *Forge) NewGoRepo(gopath string, url string) (*gitpb.Repo, error)

func (*Forge) NormalCheckTB added in v0.0.191

func (f *Forge) NormalCheckTB(pb *gitpb.Repos) string

func (*Forge) PrepareCheckRepo added in v0.0.157

func (f *Forge) PrepareCheckRepo(namespace string) *gitpb.Repo

func (*Forge) PrepareCheckRepos added in v0.0.156

func (f *Forge) PrepareCheckRepos() *gitpb.Repos

func (*Forge) PrintDefaultTB added in v0.0.163

func (f *Forge) PrintDefaultTB(pb *gitpb.Repos) string

func (*Forge) PrintErrorsTB added in v0.0.198

func (f *Forge) PrintErrorsTB(pb *gitpb.Repos) string

func (*Forge) PrintGolangTB added in v0.0.193

func (f *Forge) PrintGolangTB(pb *gitpb.Repos) string

func (*Forge) PrintPullTable added in v0.0.152

func (f *Forge) PrintPullTable(pb *gitpb.Repos) string

returns footer

func (*Forge) PrintTable added in v0.0.173

func (f *Forge) PrintTable(pb *gitpb.Repos)

this is the default table layout for repos in forge

func (*Forge) Reload added in v0.0.158

func (f *Forge) Reload() map[string]*RillStats

func (*Forge) RescanRepos added in v0.0.188

func (f *Forge) RescanRepos() error

func (*Forge) RillFuncError added in v0.0.54

func (f *Forge) RillFuncError(rillf func(*gitpb.Repo) error) map[string]*RillStats

x is the size of the queued up pool (shouldn't matter here for this I think) y is how many simultanous functions will run todo: tune and compute x,y by # of CPUs and disk io todo: store x,y in forge config ? (or compute them. notsure)

func (*Forge) RillReload added in v0.0.55

func (f *Forge) RillReload() int

rill is awesome. long live rill

x is the size of the queued up pool (shouldn't matter here for this I think) y is how many simultanous functions will run todo: tune and compute x,y by # of CPUs and disk io todo: store x,y in forge config ? (or compute them. notsure)

func (*Forge) RillRepos added in v0.0.113

func (f *Forge) RillRepos(rillf func(*gitpb.Repo) error) map[string]*RillStats

x is the size of the queued up pool (shouldn't matter here for this I think) y is how many simultanous functions will run todo: tune and compute x,y by # of CPUs and disk io todo: store x,y in forge config ? (or compute them. notsure)

func (*Forge) RunOnRepos added in v0.0.158

func (f *Forge) RunOnRepos(repos *gitpb.Repos, rillf func(*gitpb.Repo) error) *gitpb.Repos

returns the set of failed repos

func (*Forge) RunOnReposOld added in v0.0.198

func (f *Forge) RunOnReposOld(repos *gitpb.Repos, rillf func(*gitpb.Repo) error) map[string]*RillStats

x is the size of the queued up pool (shouldn't matter here for this I think) y is how many simultanous functions will run todo: tune and compute x,y by # of CPUs and disk io todo: store x,y in forge config ? (or compute them. notsure)

func (*Forge) RunOnReposSlow added in v0.0.198

func (f *Forge) RunOnReposSlow(repos *gitpb.Repos, rillf func(*gitpb.Repo) error) *gitpb.Repos

dumb & slow, but needed. This is old school dumb. Before we had the awesome machines we have today. Use this if you think SMP processing might be the problem. if this works, and GO Rill doesn't work, then you, yes you, are the problem. Your code sucks. fix it, happy hacking

func (*Forge) Save added in v0.0.188

func (f *Forge) Save() error

func (*Forge) SavePatchsets added in v0.0.118

func (f *Forge) SavePatchsets() error

func (*Forge) SetCleaningMode added in v0.0.192

func (f *Forge) SetCleaningMode()

indicates the user is trying to cleanup repos stays in this mode until the user leaves it should not change the repos selected

func (*Forge) SetConfigSave added in v0.0.37

func (f *Forge) SetConfigSave(b bool)

func (*Forge) SetMode added in v0.0.183

func (f *Forge) SetMode(newmode ForgeMode) error

func (*Forge) SetModeNewUser added in v0.0.188

func (f *Forge) SetModeNewUser()

func (*Forge) SetUserMode added in v0.0.193

func (f *Forge) SetUserMode()

func (*Forge) TestGoDepsCheckOk added in v0.0.73

func (f *Forge) TestGoDepsCheckOk(godeps *gitpb.GoDeps) error

func (*Forge) TrimGoSum added in v0.0.65

func (f *Forge) TrimGoSum(check *gitpb.Repo) error

func (*Forge) ValidGoVersion added in v0.0.36

func (f *Forge) ValidGoVersion(ver string) (bool, error)

golang versions MUST be vX.X.X it can not be vX.X and it also can not be v0.0.0 verifies the version is format v3.2.1 this is retardedly wrong. it needs to be done right

func (*Forge) VerifyBranchNames added in v0.0.13

func (f *Forge) VerifyBranchNames(repo *gitpb.Repo)

this is still in flux

type ForgeConfig added in v0.0.7

type ForgeConfig struct {
	Namespace        string                 `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`               // `autogenpb:unique` `autogenpb:sort` // Examples: 'go.wit.com/apps/go-clone' or "~/mythings" or "/home/src/foo"
	Writable         bool                   `protobuf:"varint,2,opt,name=writable,proto3" json:"writable,omitempty"`                // if you have write access to the repo
	ReadOnly         bool                   `protobuf:"varint,3,opt,name=readOnly,proto3" json:"readOnly,omitempty"`                // the opposite, but needed for now because I don't know what I'm doing
	Private          bool                   `protobuf:"varint,4,opt,name=private,proto3" json:"private,omitempty"`                  // if the repo can be published
	Directory        bool                   `protobuf:"varint,5,opt,name=directory,proto3" json:"directory,omitempty"`              // everything in this directory should use these writable & private values
	Favorite         bool                   `protobuf:"varint,6,opt,name=favorite,proto3" json:"favorite,omitempty"`                // you like this. always git clone/go clone this repo
	Interesting      bool                   `protobuf:"varint,7,opt,name=interesting,proto3" json:"interesting,omitempty"`          // this is something interesting you found and want to remember it
	MasterBranchName string                 `protobuf:"bytes,8,opt,name=masterBranchName,proto3" json:"masterBranchName,omitempty"` // git 'main' or 'master' branch name
	DevelBranchName  string                 `protobuf:"bytes,9,opt,name=develBranchName,proto3" json:"develBranchName,omitempty"`   // whatever the git 'devel' branch name is
	UserBranchName   string                 `protobuf:"bytes,10,opt,name=userBranchName,proto3" json:"userBranchName,omitempty"`    // whatever your username branch is
	DebName          string                 `protobuf:"bytes,11,opt,name=debName,proto3" json:"debName,omitempty"`                  // the actual name used with 'apt install' (or distro apt equivalent.
	Verstamp         *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=verstamp,proto3" json:"verstamp,omitempty"`                // the git commit timestamp of the version
	GoPath           string                 `protobuf:"bytes,13,opt,name=goPath,proto3" json:"goPath,omitempty"`                    // deprecate
	// contains filtered or unexported fields
}

func (*ForgeConfig) Descriptor deprecated added in v0.0.7

func (*ForgeConfig) Descriptor() ([]byte, []int)

Deprecated: Use ForgeConfig.ProtoReflect.Descriptor instead.

func (*ForgeConfig) GetDebName added in v0.0.7

func (x *ForgeConfig) GetDebName() string

func (*ForgeConfig) GetDevelBranchName added in v0.0.7

func (x *ForgeConfig) GetDevelBranchName() string

func (*ForgeConfig) GetDirectory added in v0.0.7

func (x *ForgeConfig) GetDirectory() bool

func (*ForgeConfig) GetFavorite added in v0.0.7

func (x *ForgeConfig) GetFavorite() bool

func (*ForgeConfig) GetGoPath added in v0.0.7

func (x *ForgeConfig) GetGoPath() string

func (*ForgeConfig) GetInteresting added in v0.0.7

func (x *ForgeConfig) GetInteresting() bool

func (*ForgeConfig) GetMasterBranchName added in v0.0.7

func (x *ForgeConfig) GetMasterBranchName() string

func (*ForgeConfig) GetNamespace added in v0.0.123

func (x *ForgeConfig) GetNamespace() string

func (*ForgeConfig) GetPrivate added in v0.0.7

func (x *ForgeConfig) GetPrivate() bool

func (*ForgeConfig) GetReadOnly added in v0.0.7

func (x *ForgeConfig) GetReadOnly() bool

func (*ForgeConfig) GetUserBranchName added in v0.0.7

func (x *ForgeConfig) GetUserBranchName() string

func (*ForgeConfig) GetVerstamp added in v0.0.7

func (x *ForgeConfig) GetVerstamp() *timestamppb.Timestamp

func (*ForgeConfig) GetWritable added in v0.0.7

func (x *ForgeConfig) GetWritable() bool

func (*ForgeConfig) ProtoMessage added in v0.0.7

func (*ForgeConfig) ProtoMessage()

func (*ForgeConfig) ProtoReflect added in v0.0.7

func (x *ForgeConfig) ProtoReflect() protoreflect.Message

func (*ForgeConfig) Reset added in v0.0.7

func (x *ForgeConfig) Reset()

func (*ForgeConfig) String added in v0.0.7

func (x *ForgeConfig) String() string

type ForgeConfigFunc added in v0.0.182

type ForgeConfigFunc struct {
	Custom func(*ForgeConfig)
	Width  int
	Attr   *guipb.ColAttr
	Header *guipb.Widget
	// contains filtered or unexported fields
}

func (*ForgeConfigFunc) SetTitle added in v0.0.182

func (sf *ForgeConfigFunc) SetTitle(title string)

type ForgeConfigScanner added in v0.0.104

type ForgeConfigScanner struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*ForgeConfigScanner) Next added in v0.0.104

func (it *ForgeConfigScanner) Next() *ForgeConfig

Next() returns the next thing in the array

func (*ForgeConfigScanner) Scan added in v0.0.104

func (it *ForgeConfigScanner) Scan() bool

type ForgeConfigs added in v0.0.7

type ForgeConfigs struct {
	Uuid         string         `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`       // `autogenpb:uuid:1941cd4f-1cfd-4bf6-aa75-c2c391907e81`
	Version      string         `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // `autogenpb:version:v0.0.48`
	ForgeConfigs []*ForgeConfig `protobuf:"bytes,3,rep,name=ForgeConfigs,proto3" json:"ForgeConfigs,omitempty"`
	Filename     string         `protobuf:"bytes,4,opt,name=Filename,proto3" json:"Filename,omitempty"` // what to use for the user branch (default ENV{USER})
	Caches       []*Cache       `protobuf:"bytes,5,rep,name=caches,proto3" json:"caches,omitempty"`     // cache config files
	// contains filtered or unexported fields
}

func NewForgeConfigs added in v0.0.48

func NewForgeConfigs() *ForgeConfigs

func (*ForgeConfigs) All added in v0.0.7

func (x *ForgeConfigs) All() *ForgeConfigScanner

func (*ForgeConfigs) Append added in v0.0.7

func (x *ForgeConfigs) Append(y *ForgeConfig)

a Append() shortcut (that does Clone() with a mutex) notsure if it really works doesn't allow nil

func (*ForgeConfigs) AppendByNamespace added in v0.0.123

func (x *ForgeConfigs) AppendByNamespace(y *ForgeConfig) bool

func (*ForgeConfigs) Clone added in v0.0.177

func (x *ForgeConfigs) Clone(y *ForgeConfig) *ForgeConfig

a Clone() shortcut (with a mutex). notsure if it really works

func (*ForgeConfigs) CloneByNamespace added in v0.0.177

func (x *ForgeConfigs) CloneByNamespace(y *ForgeConfig) bool

func (*ForgeConfigs) DebName added in v0.0.23

func (fc *ForgeConfigs) DebName(namespace string) string

returns the deb package name this let's you check a git tag version against a package .deb version allows namespace's to not need to match the .deb name this is important in lots of cases! It is normal and happens often enough.

func (*ForgeConfigs) Delete added in v0.0.61

func (x *ForgeConfigs) Delete(y *ForgeConfig) bool

func (*ForgeConfigs) DeleteByNamespace added in v0.0.123

func (x *ForgeConfigs) DeleteByNamespace(s string) bool

func (*ForgeConfigs) Descriptor deprecated added in v0.0.7

func (*ForgeConfigs) Descriptor() ([]byte, []int)

Deprecated: Use ForgeConfigs.ProtoReflect.Descriptor instead.

func (*ForgeConfigs) FindByNamespace added in v0.0.123

func (x *ForgeConfigs) FindByNamespace(s string) *ForgeConfig

lookup a ForgeConfigs by the Namespace

func (*ForgeConfigs) FindDevelBranch added in v0.0.43

func (fc *ForgeConfigs) FindDevelBranch(thing string) string

allows custom devel branch names in the forge config

func (*ForgeConfigs) FindMasterBranch added in v0.0.43

func (fc *ForgeConfigs) FindMasterBranch(thing string) string

allows custom devel branch names in the forge config

func (*ForgeConfigs) FindUserBranch added in v0.0.41

func (fc *ForgeConfigs) FindUserBranch(thing string) string

allows custom user branch names in the forge config

func (*ForgeConfigs) FormatJSON added in v0.0.7

func (v *ForgeConfigs) FormatJSON() string

human readable JSON

func (*ForgeConfigs) FormatTEXT added in v0.0.7

func (v *ForgeConfigs) FormatTEXT() string

apparently this isn't stable, but it's awesomely better https://protobuf.dev/reference/go/faq/#unstable-text it's brilliant for config files!

func (*ForgeConfigs) GetCaches added in v0.0.191

func (x *ForgeConfigs) GetCaches() []*Cache

func (*ForgeConfigs) GetFilename added in v0.0.134

func (x *ForgeConfigs) GetFilename() string

func (*ForgeConfigs) GetForgeConfigs added in v0.0.7

func (x *ForgeConfigs) GetForgeConfigs() []*ForgeConfig

func (*ForgeConfigs) GetUuid added in v0.0.7

func (x *ForgeConfigs) GetUuid() string

func (*ForgeConfigs) GetVersion added in v0.0.7

func (x *ForgeConfigs) GetVersion() string

func (*ForgeConfigs) InsertByNamespace added in v0.0.123

func (x *ForgeConfigs) InsertByNamespace(y string) *ForgeConfig

returns a ForgeConfig if Namespace matches, otherwise create

func (*ForgeConfigs) IsFavorite added in v0.0.23

func (fc *ForgeConfigs) IsFavorite(thing string) bool

IsFavorite() -- fun option for the config file that lets you set things as favorites so you can just go-clone a bunch of common things on a new box or after you reset/delete your ~/go/src dir

func (*ForgeConfigs) IsPrivate added in v0.0.23

func (fc *ForgeConfigs) IsPrivate(thing string) bool

is this a non-publishable repo? matches package names from apt

IsPrivate("foo") will match anything in the config file ending in "foo"

IsPrivate("go.foo.com/jcarr/foo") returns true if private IsPrivate("foo") also returns true if "go.bar.com/jcarr/foo" is private

func (*ForgeConfigs) IsReadOnly added in v0.0.19

func (fc *ForgeConfigs) IsReadOnly(namespace string) bool

returns true if namespace is readonly() will attempt to match IsWritable("foo") against anything ending in "foo"

func (*ForgeConfigs) IsWritable added in v0.0.23

func (fc *ForgeConfigs) IsWritable(thing string) bool

IsWritable() checks your .config/forge/ settings looks for an exact match, then looks for a directory match

func (*ForgeConfigs) IterAll added in v0.0.101

func (x *ForgeConfigs) IterAll() iter.Seq[*ForgeConfig]

Iterate 'for x := range' syntax using the awesome golang 1.24 'iter'

func (*ForgeConfigs) IterByNamespace added in v0.0.123

func (x *ForgeConfigs) IterByNamespace() iter.Seq[*ForgeConfig]

'for x := range' syntax using the awesome golang 1.24 'iter'

func (*ForgeConfigs) Len added in v0.0.7

func (x *ForgeConfigs) Len() int

func (*ForgeConfigs) MakeTable added in v0.0.182

func (pb *ForgeConfigs) MakeTable() *ForgeConfigsTable

func (*ForgeConfigs) Marshal added in v0.0.7

func (v *ForgeConfigs) Marshal() ([]byte, error)

marshal to wire. This is called winning.

func (*ForgeConfigs) MarshalJSON added in v0.0.7

func (v *ForgeConfigs) MarshalJSON() ([]byte, error)

marshal json

func (*ForgeConfigs) NewTable added in v0.0.182

func (x *ForgeConfigs) NewTable(title string) *ForgeConfigsTable

func (*ForgeConfigs) PrintTable added in v0.0.182

func (pb *ForgeConfigs) PrintTable() string

returns footer

func (*ForgeConfigs) ProtoMessage added in v0.0.7

func (*ForgeConfigs) ProtoMessage()

func (*ForgeConfigs) ProtoReflect added in v0.0.7

func (x *ForgeConfigs) ProtoReflect() protoreflect.Message

func (*ForgeConfigs) Reset added in v0.0.7

func (x *ForgeConfigs) Reset()

func (*ForgeConfigs) SortByNamespace added in v0.0.123

func (x *ForgeConfigs) SortByNamespace() *ForgeConfigScanner

func (*ForgeConfigs) SortNamespace added in v0.0.174

func (pb *ForgeConfigs) SortNamespace()

func (*ForgeConfigs) String added in v0.0.7

func (x *ForgeConfigs) String() string

func (*ForgeConfigs) Unmarshal added in v0.0.7

func (v *ForgeConfigs) Unmarshal(data []byte) error

unmarshal from wire. You have won.

func (*ForgeConfigs) UnmarshalJSON added in v0.0.7

func (v *ForgeConfigs) UnmarshalJSON(data []byte) error

unmarshal json

func (*ForgeConfigs) UnmarshalTEXT added in v0.0.7

func (v *ForgeConfigs) UnmarshalTEXT(data []byte) error

unmarshalTEXT. This reads the .text config file back in after the user edits it

type ForgeConfigsScanner added in v0.0.104

type ForgeConfigsScanner struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*ForgeConfigsScanner) Next added in v0.0.104

func (it *ForgeConfigsScanner) Next() *ForgeConfigs

Next() returns the next thing in the array

func (*ForgeConfigsScanner) Scan added in v0.0.104

func (it *ForgeConfigsScanner) Scan() bool

type ForgeConfigsTable added in v0.0.182

type ForgeConfigsTable struct {
	Funcs      []*ForgeConfigFunc
	CustomFunc func(*ForgeConfig)
	// contains filtered or unexported fields
}

func (*ForgeConfigsTable) AddButtonFunc added in v0.0.182

func (t *ForgeConfigsTable) AddButtonFunc(title string, f func(*ForgeConfig) string) *ForgeConfigFunc

force the application to choose the type of data. this allows the GUI plugin to be smarter

func (*ForgeConfigsTable) AddDebName added in v0.0.182

func (t *ForgeConfigsTable) AddDebName() *ForgeConfigFunc

func (*ForgeConfigsTable) AddDevelBranchName added in v0.0.182

func (t *ForgeConfigsTable) AddDevelBranchName() *ForgeConfigFunc

func (*ForgeConfigsTable) AddGoPath added in v0.0.182

func (t *ForgeConfigsTable) AddGoPath() *ForgeConfigFunc

func (*ForgeConfigsTable) AddIntFunc added in v0.0.182

func (t *ForgeConfigsTable) AddIntFunc(title string, f func(*ForgeConfig) int) *ForgeConfigFunc

force the application to choose the type of data. this allows the GUI plugin to be smarter

func (*ForgeConfigsTable) AddMasterBranchName added in v0.0.182

func (t *ForgeConfigsTable) AddMasterBranchName() *ForgeConfigFunc

func (*ForgeConfigsTable) AddNamespace added in v0.0.182

func (t *ForgeConfigsTable) AddNamespace() *ForgeConfigFunc

func (*ForgeConfigsTable) AddStringFunc added in v0.0.182

func (t *ForgeConfigsTable) AddStringFunc(title string, f func(*ForgeConfig) string) *ForgeConfigFunc

force the application to choose the type of data. this allows the GUI plugin to be smarter

func (*ForgeConfigsTable) AddTimeFunc added in v0.0.182

func (t *ForgeConfigsTable) AddTimeFunc(title string, f func(*ForgeConfig) time.Time) *ForgeConfigFunc

force the application to choose the type of data. this allows the GUI plugin to be smarter

func (*ForgeConfigsTable) AddUserBranchName added in v0.0.182

func (t *ForgeConfigsTable) AddUserBranchName() *ForgeConfigFunc

func (*ForgeConfigsTable) Custom added in v0.0.182

func (mt *ForgeConfigsTable) Custom(f func(*ForgeConfig))

func (*ForgeConfigsTable) Delete added in v0.0.182

func (mt *ForgeConfigsTable) Delete()

func (*ForgeConfigsTable) GetUuid added in v0.0.182

func (mt *ForgeConfigsTable) GetUuid() string

func (*ForgeConfigsTable) MakeTable added in v0.0.182

func (mt *ForgeConfigsTable) MakeTable()

func (*ForgeConfigsTable) NewUuid added in v0.0.182

func (mt *ForgeConfigsTable) NewUuid()

func (*ForgeConfigsTable) PrintTable added in v0.0.182

func (t *ForgeConfigsTable) PrintTable()

formats & prints the table as text to Stdout. a real timesaver!

func (*ForgeConfigsTable) SetParent added in v0.0.182

func (mt *ForgeConfigsTable) SetParent(p *gui.Node)

func (*ForgeConfigsTable) ShowTable added in v0.0.182

func (mt *ForgeConfigsTable) ShowTable()

type ForgeMode added in v0.0.93

type ForgeMode int32
const (
	ForgeMode_UNKNOWN ForgeMode = 0 //
	ForgeMode_NEWUSER ForgeMode = 1 //
	ForgeMode_MASTER  ForgeMode = 2 // "release mode"
	ForgeMode_DEVEL   ForgeMode = 3 // "patch mode"
	ForgeMode_USER    ForgeMode = 4 // "work mode"
	ForgeMode_NORMAL  ForgeMode = 5 // "normal mode" // use this when you are developing code
	ForgeMode_CLEAN   ForgeMode = 6 // indicates "clean" was run
	ForgeMode_CUSTOM  ForgeMode = 7 // reads config settings from a user defined directory
	ForgeMode_GOLANG  ForgeMode = 8 // restricts repos to ~/go/src or a go.work directory
)

func (ForgeMode) Descriptor added in v0.0.93

func (ForgeMode) Descriptor() protoreflect.EnumDescriptor

func (ForgeMode) Enum added in v0.0.93

func (x ForgeMode) Enum() *ForgeMode

func (ForgeMode) EnumDescriptor deprecated added in v0.0.93

func (ForgeMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use ForgeMode.Descriptor instead.

func (ForgeMode) Number added in v0.0.93

func (x ForgeMode) Number() protoreflect.EnumNumber

func (ForgeMode) String added in v0.0.93

func (x ForgeMode) String() string

func (ForgeMode) Type added in v0.0.93

type Module added in v0.0.8

type Module struct {
	Path       string       // module path
	Query      string       // version query corresponding to this version
	Version    string       // module version
	Versions   []string     // available module versions
	Replace    *Module      // replaced by this module
	Time       *time.Time   // time version was created
	Update     *Module      // available update (with -u)
	Main       bool         // is this the main module?
	Indirect   bool         // module is only indirectly needed by main module
	Dir        string       // directory holding local copy of files, if any
	GoMod      string       // path to go.mod file describing module, if any
	GoVersion  string       // go version used in module
	Retracted  []string     // retraction information, if any (with -retracted or -u)
	Deprecated string       // deprecation message, if any (with -u)
	Error      *ModuleError // error loading module
	Sum        string       // checksum for path, version (as in go.sum)
	GoModSum   string       // checksum for go.mod (as in go.sum)
	Reuse      bool         // reuse of old module info is safe
	Origin     Origin
}

type ModuleError added in v0.0.8

type ModuleError struct {
	Err string // the error itself
}

type Origin added in v0.0.8

type Origin struct {
	VCS    string `json:",omitempty"` // "git" etc
	URL    string `json:",omitempty"` // URL of repository
	Subdir string `json:",omitempty"` // subdirectory in repo

	Hash string `json:",omitempty"` // commit hash or ID

	// If TagSum is non-empty, then the resolution of this module version
	// depends on the set of tags present in the repo, specifically the tags
	// of the form TagPrefix + a valid semver version.
	// If the matching repo tags and their commit hashes still hash to TagSum,
	// the Origin is still valid (at least as far as the tags are concerned).
	// The exact checksum is up to the Repo implementation; see (*gitRepo).Tags.
	TagPrefix string `json:",omitempty"`
	TagSum    string `json:",omitempty"`

	// If Ref is non-empty, then the resolution of this module version
	// depends on Ref resolving to the revision identified by Hash.
	// If Ref still resolves to Hash, the Origin is still valid (at least as far as Ref is concerned).
	// For Git, the Ref is a full ref like "refs/heads/main" or "refs/tags/v1.2.3",
	// and the Hash is the Git object hash the ref maps to.
	// Other VCS might choose differently, but the idea is that Ref is the name
	// with a mutable meaning while Hash is a name with an immutable meaning.
	Ref string `json:",omitempty"`

	// If RepoSum is non-empty, then the resolution of this module version
	// failed due to the repo being available but the version not being present.
	// This depends on the entire state of the repo, which RepoSum summarizes.
	// For Git, this is a hash of all the refs and their hashes.
	RepoSum string `json:",omitempty"`
}

An Origin describes the provenance of a given repo method result. It can be passed to CheckReuse (usually in a different go command invocation) to see whether the result remains up-to-date.

type Patch added in v0.0.28

type Patch struct {
	Namespace   string                 `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`      // the base repo git namespace
	Data        []byte                 `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`                // the raw data of the whole patch
	GH          string                 `protobuf:"bytes,3,opt,name=gH,proto3" json:"gH,omitempty"`                    // Commit Hash (%H)
	GT          string                 `protobuf:"bytes,4,opt,name=gT,proto3" json:"gT,omitempty"`                    // Tree Hash (%T)
	GP          string                 `protobuf:"bytes,5,opt,name=gP,proto3" json:"gP,omitempty"`                    // Parent Hashes (%P)
	Gs          string                 `protobuf:"bytes,6,opt,name=gs,proto3" json:"gs,omitempty"`                    // Subject (%s)
	GaI         string                 `protobuf:"bytes,7,opt,name=gaI,proto3" json:"gaI,omitempty"`                  // Author Date, ISO 8601 format (%aI)
	Gan         string                 `protobuf:"bytes,8,opt,name=gan,proto3" json:"gan,omitempty"`                  // Author Name (%an)
	Gae         string                 `protobuf:"bytes,9,opt,name=gae,proto3" json:"gae,omitempty"`                  // Author Email (%ae)
	GcI         string                 `protobuf:"bytes,10,opt,name=gcI,proto3" json:"gcI,omitempty"`                 // Committer Date, ISO 8601 format (%cI)
	Gcn         string                 `protobuf:"bytes,11,opt,name=gcn,proto3" json:"gcn,omitempty"`                 // Committer Name (%cn)
	Gce         string                 `protobuf:"bytes,12,opt,name=gce,proto3" json:"gce,omitempty"`                 // Committer Email (%ce)
	GN          string                 `protobuf:"bytes,13,opt,name=gN,proto3" json:"gN,omitempty"`                   // Commit Notes (%N)
	GGG         string                 `protobuf:"bytes,14,opt,name=gGG,proto3" json:"gGG,omitempty"`                 // GPG Signature, raw (%GG)
	GGS         string                 `protobuf:"bytes,15,opt,name=gGS,proto3" json:"gGS,omitempty"`                 // GPG Signer Name (%GS)
	GGK         string                 `protobuf:"bytes,16,opt,name=gGK,proto3" json:"gGK,omitempty"`                 // GPG Key ID (%GK)
	NewHash     string                 `protobuf:"bytes,17,opt,name=newHash,proto3" json:"newHash,omitempty"`         // new hash
	State       string                 `protobuf:"bytes,18,opt,name=state,proto3" json:"state,omitempty"`             // the 'state' of the patch
	Filename    string                 `protobuf:"bytes,19,opt,name=filename,proto3" json:"filename,omitempty"`       // `autogenpb:unique` `autogenpb:sort`
	StartHash   string                 `protobuf:"bytes,20,opt,name=startHash,proto3" json:"startHash,omitempty"`     // the start commit hash
	CommitHash  string                 `protobuf:"bytes,21,opt,name=commitHash,proto3" json:"commitHash,omitempty"`   // the git commit hash of this patch `autogenpb:sort` `autogenpb:unique`
	Comment     string                 `protobuf:"bytes,22,opt,name=comment,proto3" json:"comment,omitempty"`         // the git commit message (in patch form)
	Files       []string               `protobuf:"bytes,23,rep,name=Files,proto3" json:"Files,omitempty"`             // the filenames this patch changes
	Ctime       *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=ctime,proto3" json:"ctime,omitempty"`             // create time of the patch
	Applied     bool                   `protobuf:"varint,25,opt,name=applied,proto3" json:"applied,omitempty"`        // have you applied this patch?
	Upstream    bool                   `protobuf:"varint,26,opt,name=upstream,proto3" json:"upstream,omitempty"`      // has this patch been applied upstream?
	PatchId     string                 `protobuf:"bytes,27,opt,name=patchId,proto3" json:"patchId,omitempty"`         // patchId `autogenpb:unique`
	TreeHash    string                 `protobuf:"bytes,28,opt,name=treeHash,proto3" json:"treeHash,omitempty"`       // final tree Hash
	StateChange string                 `protobuf:"bytes,29,opt,name=stateChange,proto3" json:"stateChange,omitempty"` // more weird stuff
	// contains filtered or unexported fields
}

func (*Patch) Descriptor deprecated added in v0.0.28

func (*Patch) Descriptor() ([]byte, []int)

Deprecated: Use Patch.ProtoReflect.Descriptor instead.

func (*Patch) Error added in v0.0.169

func (pb *Patch) Error(err any) error

func (*Patch) GetApplied added in v0.0.98

func (x *Patch) GetApplied() bool

func (*Patch) GetComment added in v0.0.63

func (x *Patch) GetComment() string

func (*Patch) GetCommitHash added in v0.0.43

func (x *Patch) GetCommitHash() string

func (*Patch) GetCtime added in v0.0.28

func (x *Patch) GetCtime() *timestamppb.Timestamp

func (*Patch) GetData added in v0.0.28

func (x *Patch) GetData() []byte

func (*Patch) GetFilename added in v0.0.28

func (x *Patch) GetFilename() string

func (*Patch) GetFiles added in v0.0.43

func (x *Patch) GetFiles() []string

func (*Patch) GetGGG added in v0.0.93

func (x *Patch) GetGGG() string

func (*Patch) GetGGK added in v0.0.93

func (x *Patch) GetGGK() string

func (*Patch) GetGGS added in v0.0.93

func (x *Patch) GetGGS() string

func (*Patch) GetGH added in v0.0.93

func (x *Patch) GetGH() string

func (*Patch) GetGN added in v0.0.93

func (x *Patch) GetGN() string

func (*Patch) GetGP added in v0.0.93

func (x *Patch) GetGP() string

func (*Patch) GetGT added in v0.0.93

func (x *Patch) GetGT() string

func (*Patch) GetGaI added in v0.0.93

func (x *Patch) GetGaI() string

func (*Patch) GetGae added in v0.0.93

func (x *Patch) GetGae() string

func (*Patch) GetGan added in v0.0.93

func (x *Patch) GetGan() string

func (*Patch) GetGcI added in v0.0.93

func (x *Patch) GetGcI() string

func (*Patch) GetGce added in v0.0.93

func (x *Patch) GetGce() string

func (*Patch) GetGcn added in v0.0.93

func (x *Patch) GetGcn() string

func (*Patch) GetGs added in v0.0.93

func (x *Patch) GetGs() string

func (*Patch) GetNamespace added in v0.0.116

func (x *Patch) GetNamespace() string

func (*Patch) GetNewHash added in v0.0.63

func (x *Patch) GetNewHash() string

func (*Patch) GetPatchId added in v0.0.143

func (x *Patch) GetPatchId() string

func (*Patch) GetStartHash added in v0.0.43

func (x *Patch) GetStartHash() string

func (*Patch) GetState added in v0.0.93

func (x *Patch) GetState() string

func (*Patch) GetStateChange added in v0.0.178

func (x *Patch) GetStateChange() string

func (*Patch) GetTreeHash added in v0.0.143

func (x *Patch) GetTreeHash() string

func (*Patch) GetUpstream added in v0.0.98

func (x *Patch) GetUpstream() bool

func (*Patch) ProtoMessage added in v0.0.28

func (*Patch) ProtoMessage()

func (*Patch) ProtoReflect added in v0.0.28

func (x *Patch) ProtoReflect() protoreflect.Message

func (*Patch) Reset added in v0.0.28

func (x *Patch) Reset()

func (*Patch) String added in v0.0.28

func (x *Patch) String() string

type PatchFunc added in v0.0.161

type PatchFunc struct {
	Custom func(*Patch)
	Width  int
	Attr   *guipb.ColAttr
	Header *guipb.Widget
	// contains filtered or unexported fields
}

func (*PatchFunc) SetTitle added in v0.0.161

func (sf *PatchFunc) SetTitle(title string)

type PatchScanner added in v0.0.104

type PatchScanner struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*PatchScanner) Next added in v0.0.104

func (it *PatchScanner) Next() *Patch

Next() returns the next thing in the array

func (*PatchScanner) Scan added in v0.0.104

func (it *PatchScanner) Scan() bool

type Patches added in v0.0.47

type Patches struct {
	Uuid     string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`       // `autogenpb:uuid:2679065e-c81d-4a00-aca4-03c158a834fb`
	Version  string   `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // `autogenpb:version:v2.0.0`
	Patches  []*Patch `protobuf:"bytes,3,rep,name=patches,proto3" json:"patches,omitempty"`
	Filename string   `protobuf:"bytes,4,opt,name=filename,proto3" json:"filename,omitempty"` // `autogenpb:save` -- this enables autogenerated pb.Load() and pb.Save()
	Errors   string   `protobuf:"bytes,5,opt,name=Errors,proto3" json:"Errors,omitempty"`     // `autogenpb:error`
	// contains filtered or unexported fields
}

this is a "PATCH: 1/x" series

func NewPatches added in v0.0.116

func NewPatches() *Patches

func (*Patches) All added in v0.0.47

func (x *Patches) All() *PatchScanner

func (*Patches) Append added in v0.0.47

func (x *Patches) Append(y *Patch)

a Append() shortcut (that does Clone() with a mutex) notsure if it really works doesn't allow nil

func (*Patches) AppendByCommitHash added in v0.0.103

func (x *Patches) AppendByCommitHash(y *Patch) bool

func (*Patches) AppendByFilename added in v0.0.47

func (x *Patches) AppendByFilename(y *Patch) bool

func (*Patches) AppendByPatchId added in v0.0.148

func (x *Patches) AppendByPatchId(y *Patch) bool

func (*Patches) Clone added in v0.0.177

func (x *Patches) Clone(y *Patch) *Patch

a Clone() shortcut (with a mutex). notsure if it really works

func (*Patches) CloneByCommitHash added in v0.0.177

func (x *Patches) CloneByCommitHash(y *Patch) bool

func (*Patches) CloneByFilename added in v0.0.177

func (x *Patches) CloneByFilename(y *Patch) bool

func (*Patches) CloneByPatchId added in v0.0.177

func (x *Patches) CloneByPatchId(y *Patch) bool

func (*Patches) Delete added in v0.0.61

func (x *Patches) Delete(y *Patch) bool

func (*Patches) DeleteByCommitHash added in v0.0.103

func (x *Patches) DeleteByCommitHash(s string) bool

func (*Patches) DeleteByFilename added in v0.0.47

func (x *Patches) DeleteByFilename(s string) bool

func (*Patches) DeleteByPatchId added in v0.0.148

func (x *Patches) DeleteByPatchId(s string) bool

func (*Patches) Descriptor deprecated added in v0.0.47

func (*Patches) Descriptor() ([]byte, []int)

Deprecated: Use Patches.ProtoReflect.Descriptor instead.

func (*Patches) Error added in v0.0.127

func (pb *Patches) Error(err any) error

func (*Patches) FindByCommitHash added in v0.0.103

func (x *Patches) FindByCommitHash(s string) *Patch

lookup a Patches by the CommitHash

func (*Patches) FindByFilename added in v0.0.47

func (x *Patches) FindByFilename(s string) *Patch

lookup a Patches by the Filename

func (*Patches) FindByPatchId added in v0.0.148

func (x *Patches) FindByPatchId(s string) *Patch

lookup a Patches by the PatchId

func (*Patches) FormatJSON added in v0.0.47

func (v *Patches) FormatJSON() string

human readable JSON

func (*Patches) FormatTEXT added in v0.0.47

func (v *Patches) FormatTEXT() string

apparently this isn't stable, but it's awesomely better https://protobuf.dev/reference/go/faq/#unstable-text it's brilliant for config files!

func (*Patches) GetErrors added in v0.0.169

func (x *Patches) GetErrors() string

func (*Patches) GetFilename added in v0.0.169

func (x *Patches) GetFilename() string

func (*Patches) GetPatches added in v0.0.47

func (x *Patches) GetPatches() []*Patch

func (*Patches) GetUuid added in v0.0.47

func (x *Patches) GetUuid() string

func (*Patches) GetVersion added in v0.0.47

func (x *Patches) GetVersion() string

func (*Patches) HttpPost added in v0.0.128

func (p *Patches) HttpPost(baseURL string, route string) (*Patches, *httppb.HttpRequest, error)

Marshal protobuf, then http POST, then Unmarshal() to protobuf again

func (*Patches) HttpPostVerbose added in v0.0.128

func (p *Patches) HttpPostVerbose(baseURL string, route string) (*Patches, *httppb.HttpRequest, error)

func (*Patches) InsertByCommitHash added in v0.0.103

func (x *Patches) InsertByCommitHash(y string) *Patch

returns a Patch if CommitHash matches, otherwise create

func (*Patches) InsertByFilename added in v0.0.97

func (x *Patches) InsertByFilename(y string) *Patch

returns a Patch if Filename matches, otherwise create

func (*Patches) InsertByPatchId added in v0.0.148

func (x *Patches) InsertByPatchId(y string) *Patch

returns a Patch if PatchId matches, otherwise create

func (*Patches) IterAll added in v0.0.101

func (x *Patches) IterAll() iter.Seq[*Patch]

Iterate 'for x := range' syntax using the awesome golang 1.24 'iter'

func (*Patches) IterByCommitHash added in v0.0.103

func (x *Patches) IterByCommitHash() iter.Seq[*Patch]

'for x := range' syntax using the awesome golang 1.24 'iter'

func (*Patches) IterByFilename added in v0.0.101

func (x *Patches) IterByFilename() iter.Seq[*Patch]

'for x := range' syntax using the awesome golang 1.24 'iter'

func (*Patches) Len added in v0.0.47

func (x *Patches) Len() int

func (*Patches) Load added in v0.0.169

func (pb *Patches) Load() error

func (*Patches) MakeTable added in v0.0.169

func (pb *Patches) MakeTable() *PatchesTable

func (*Patches) Marshal added in v0.0.47

func (v *Patches) Marshal() ([]byte, error)

marshal to wire. This is called winning.

func (*Patches) MarshalJSON added in v0.0.47

func (v *Patches) MarshalJSON() ([]byte, error)

marshal json

func (*Patches) NewTable added in v0.0.97

func (x *Patches) NewTable(title string) *PatchesTable

func (*Patches) PrintTable added in v0.0.127

func (pb *Patches) PrintTable() string

returns footer

func (*Patches) ProtoMessage added in v0.0.47

func (*Patches) ProtoMessage()

func (*Patches) ProtoReflect added in v0.0.47

func (x *Patches) ProtoReflect() protoreflect.Message

func (*Patches) Reset added in v0.0.47

func (x *Patches) Reset()

func (*Patches) Save added in v0.0.169

func (pb *Patches) Save() error

func (*Patches) SendReply added in v0.0.131

func (p *Patches) SendReply(w http.ResponseWriter, reqPB *httppb.HttpRequest) error

func (*Patches) SortByCommitHash added in v0.0.103

func (x *Patches) SortByCommitHash() *PatchScanner

func (*Patches) SortByFilename added in v0.0.47

func (x *Patches) SortByFilename() *PatchScanner

func (*Patches) SortCommitHash added in v0.0.174

func (pb *Patches) SortCommitHash()

func (*Patches) SortFilename added in v0.0.174

func (pb *Patches) SortFilename()

func (*Patches) String added in v0.0.47

func (x *Patches) String() string

func (*Patches) Unmarshal added in v0.0.47

func (v *Patches) Unmarshal(data []byte) error

unmarshal from wire. You have won.

func (*Patches) UnmarshalJSON added in v0.0.47

func (v *Patches) UnmarshalJSON(data []byte) error

unmarshal json

func (*Patches) UnmarshalTEXT added in v0.0.47

func (v *Patches) UnmarshalTEXT(data []byte) error

unmarshalTEXT. This reads the .text config file back in after the user edits it

type PatchesScanner added in v0.0.104

type PatchesScanner struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*PatchesScanner) Next added in v0.0.104

func (it *PatchesScanner) Next() *Patches

Next() returns the next thing in the array

func (*PatchesScanner) Scan added in v0.0.104

func (it *PatchesScanner) Scan() bool

type PatchesTable added in v0.0.97

type PatchesTable struct {
	Funcs      []*PatchFunc
	CustomFunc func(*Patch)
	// contains filtered or unexported fields
}

func (*PatchesTable) AddButtonFunc added in v0.0.97

func (t *PatchesTable) AddButtonFunc(title string, f func(*Patch) string) *PatchFunc

force the application to choose the type of data. this allows the GUI plugin to be smarter

func (*PatchesTable) AddComment added in v0.0.97

func (t *PatchesTable) AddComment() *PatchFunc

func (*PatchesTable) AddCommitHash added in v0.0.97

func (t *PatchesTable) AddCommitHash() *PatchFunc

func (*PatchesTable) AddFilename added in v0.0.97

func (t *PatchesTable) AddFilename() *PatchFunc

func (*PatchesTable) AddGGG added in v0.0.97

func (t *PatchesTable) AddGGG() *PatchFunc

func (*PatchesTable) AddGGK added in v0.0.97

func (t *PatchesTable) AddGGK() *PatchFunc

func (*PatchesTable) AddGGS added in v0.0.97

func (t *PatchesTable) AddGGS() *PatchFunc

func (*PatchesTable) AddGH added in v0.0.97

func (t *PatchesTable) AddGH() *PatchFunc

func (*PatchesTable) AddGN added in v0.0.97

func (t *PatchesTable) AddGN() *PatchFunc

func (*PatchesTable) AddGP added in v0.0.97

func (t *PatchesTable) AddGP() *PatchFunc

func (*PatchesTable) AddGT added in v0.0.97

func (t *PatchesTable) AddGT() *PatchFunc

func (*PatchesTable) AddGaI added in v0.0.97

func (t *PatchesTable) AddGaI() *PatchFunc

func (*PatchesTable) AddGae added in v0.0.97

func (t *PatchesTable) AddGae() *PatchFunc

func (*PatchesTable) AddGan added in v0.0.97

func (t *PatchesTable) AddGan() *PatchFunc

func (*PatchesTable) AddGcI added in v0.0.97

func (t *PatchesTable) AddGcI() *PatchFunc

func (*PatchesTable) AddGce added in v0.0.97

func (t *PatchesTable) AddGce() *PatchFunc

func (*PatchesTable) AddGcn added in v0.0.97

func (t *PatchesTable) AddGcn() *PatchFunc

func (*PatchesTable) AddGs added in v0.0.97

func (t *PatchesTable) AddGs() *PatchFunc

func (*PatchesTable) AddIntFunc added in v0.0.97

func (t *PatchesTable) AddIntFunc(title string, f func(*Patch) int) *PatchFunc

force the application to choose the type of data. this allows the GUI plugin to be smarter

func (*PatchesTable) AddNamespace added in v0.0.116

func (t *PatchesTable) AddNamespace() *PatchFunc

func (*PatchesTable) AddNewHash added in v0.0.97

func (t *PatchesTable) AddNewHash() *PatchFunc

func (*PatchesTable) AddPatchId added in v0.0.143

func (t *PatchesTable) AddPatchId() *PatchFunc

func (*PatchesTable) AddStartHash added in v0.0.97

func (t *PatchesTable) AddStartHash() *PatchFunc

func (*PatchesTable) AddState added in v0.0.97

func (t *PatchesTable) AddState() *PatchFunc

func (*PatchesTable) AddStateChange added in v0.0.178

func (t *PatchesTable) AddStateChange() *PatchFunc

func (*PatchesTable) AddStringFunc added in v0.0.97

func (t *PatchesTable) AddStringFunc(title string, f func(*Patch) string) *PatchFunc

force the application to choose the type of data. this allows the GUI plugin to be smarter

func (*PatchesTable) AddTimeFunc added in v0.0.97

func (t *PatchesTable) AddTimeFunc(title string, f func(*Patch) time.Time) *PatchFunc

force the application to choose the type of data. this allows the GUI plugin to be smarter

func (*PatchesTable) AddTreeHash added in v0.0.143

func (t *PatchesTable) AddTreeHash() *PatchFunc

func (*PatchesTable) Custom added in v0.0.97

func (mt *PatchesTable) Custom(f func(*Patch))

func (*PatchesTable) Delete added in v0.0.97

func (mt *PatchesTable) Delete()

func (*PatchesTable) GetUuid added in v0.0.97

func (mt *PatchesTable) GetUuid() string

func (*PatchesTable) MakeTable added in v0.0.97

func (mt *PatchesTable) MakeTable()

func (*PatchesTable) NewUuid added in v0.0.97

func (mt *PatchesTable) NewUuid()

func (*PatchesTable) PrintTable added in v0.0.147

func (t *PatchesTable) PrintTable()

formats & prints the table as text to Stdout. a real timesaver!

func (*PatchesTable) SetParent added in v0.0.97

func (mt *PatchesTable) SetParent(p *gui.Node)

func (*PatchesTable) ShowTable added in v0.0.97

func (mt *PatchesTable) ShowTable()

type RillStats added in v0.0.121

type RillStats struct {
	Name  string
	Err   error
	Start time.Time
	End   time.Time
}

type Set added in v0.0.147

type Set struct {
	Patches         *Patches               `protobuf:"bytes,1,opt,name=patches,proto3" json:"patches,omitempty"`
	Uuid            string                 `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Ctime           *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=ctime,proto3" json:"ctime,omitempty"`         // when the patches were submitted
	Submitter       string                 `protobuf:"bytes,4,opt,name=submitter,proto3" json:"submitter,omitempty"` // who submitted these // deprecate this
	Name            string                 `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`           // "fixes for foo"
	GitAuthorName   string                 `protobuf:"bytes,6,opt,name=gitAuthorName,proto3" json:"gitAuthorName,omitempty"`
	GitAuthorEmail  string                 `protobuf:"bytes,7,opt,name=gitAuthorEmail,proto3" json:"gitAuthorEmail,omitempty"`
	Hostname        string                 `protobuf:"bytes,8,opt,name=hostname,proto3" json:"hostname,omitempty"`
	TmpDir          string                 `protobuf:"bytes,9,opt,name=tmpDir,proto3" json:"tmpDir,omitempty"`                    // temp dir for 'git am' deprecate this
	StartBranchName string                 `protobuf:"bytes,10,opt,name=startBranchName,proto3" json:"startBranchName,omitempty"` // deprecate this
	EndBranchName   string                 `protobuf:"bytes,11,opt,name=endBranchName,proto3" json:"endBranchName,omitempty"`     // deprecate this
	StartBranchHash string                 `protobuf:"bytes,12,opt,name=startBranchHash,proto3" json:"startBranchHash,omitempty"` // deprecate this
	EndBranchHash   string                 `protobuf:"bytes,13,opt,name=endBranchHash,proto3" json:"endBranchHash,omitempty"`     // deprecate this
	Comment         string                 `protobuf:"bytes,14,opt,name=comment,proto3" json:"comment,omitempty"`                 // deprecate this
	State           string                 `protobuf:"bytes,15,opt,name=state,proto3" json:"state,omitempty"`                     // deprecate this
	// contains filtered or unexported fields
}

func (*Set) Descriptor deprecated added in v0.0.147

func (*Set) Descriptor() ([]byte, []int)

Deprecated: Use Set.ProtoReflect.Descriptor instead.

func (*Set) FormatJSON added in v0.0.147

func (v *Set) FormatJSON() string

human readable JSON

func (*Set) FormatTEXT added in v0.0.147

func (v *Set) FormatTEXT() string

apparently this isn't stable, but it's awesomely better https://protobuf.dev/reference/go/faq/#unstable-text it's brilliant for config files!

func (*Set) GetComment added in v0.0.147

func (x *Set) GetComment() string

func (*Set) GetCtime added in v0.0.147

func (x *Set) GetCtime() *timestamppb.Timestamp

func (*Set) GetEndBranchHash added in v0.0.147

func (x *Set) GetEndBranchHash() string

func (*Set) GetEndBranchName added in v0.0.147

func (x *Set) GetEndBranchName() string

func (*Set) GetGitAuthorEmail added in v0.0.147

func (x *Set) GetGitAuthorEmail() string

func (*Set) GetGitAuthorName added in v0.0.147

func (x *Set) GetGitAuthorName() string

func (*Set) GetHostname added in v0.0.147

func (x *Set) GetHostname() string

func (*Set) GetName added in v0.0.147

func (x *Set) GetName() string

func (*Set) GetPatches added in v0.0.147

func (x *Set) GetPatches() *Patches

func (*Set) GetStartBranchHash added in v0.0.147

func (x *Set) GetStartBranchHash() string

func (*Set) GetStartBranchName added in v0.0.147

func (x *Set) GetStartBranchName() string

func (*Set) GetState added in v0.0.147

func (x *Set) GetState() string

func (*Set) GetSubmitter added in v0.0.147

func (x *Set) GetSubmitter() string

func (*Set) GetTmpDir added in v0.0.147

func (x *Set) GetTmpDir() string

func (*Set) GetUuid added in v0.0.147

func (x *Set) GetUuid() string

func (*Set) HttpPost added in v0.0.147

func (p *Set) HttpPost(baseURL string, route string) (*Set, *httppb.HttpRequest, error)

Marshal protobuf, then http POST, then Unmarshal() to protobuf again

func (*Set) HttpPostVerbose added in v0.0.147

func (p *Set) HttpPostVerbose(baseURL string, route string) (*Set, *httppb.HttpRequest, error)

func (*Set) Marshal added in v0.0.147

func (v *Set) Marshal() ([]byte, error)

marshal to wire. This is called winning.

func (*Set) MarshalJSON added in v0.0.147

func (v *Set) MarshalJSON() ([]byte, error)

marshal json

func (*Set) PrintTable added in v0.0.147

func (pset *Set) PrintTable() string

returns footer

func (*Set) ProtoMessage added in v0.0.147

func (*Set) ProtoMessage()

func (*Set) ProtoReflect added in v0.0.147

func (x *Set) ProtoReflect() protoreflect.Message

func (*Set) Reset added in v0.0.147

func (x *Set) Reset()

func (*Set) SendReply added in v0.0.147

func (p *Set) SendReply(w http.ResponseWriter, reqPB *httppb.HttpRequest) error

func (*Set) ShowPatchsets added in v0.0.147

func (pb *Set) ShowPatchsets() error

func (*Set) String added in v0.0.147

func (x *Set) String() string

func (*Set) Unmarshal added in v0.0.147

func (v *Set) Unmarshal(data []byte) error

unmarshal from wire. You have won.

func (*Set) UnmarshalJSON added in v0.0.147

func (v *Set) UnmarshalJSON(data []byte) error

unmarshal json

func (*Set) UnmarshalTEXT added in v0.0.147

func (v *Set) UnmarshalTEXT(data []byte) error

unmarshalTEXT. This reads the .text config file back in after the user edits it

type SetFunc added in v0.0.161

type SetFunc struct {
	Custom func(*Set)
	Width  int
	Attr   *guipb.ColAttr
	Header *guipb.Widget
	// contains filtered or unexported fields
}

func (*SetFunc) SetTitle added in v0.0.161

func (sf *SetFunc) SetTitle(title string)

type SetScanner added in v0.0.147

type SetScanner struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*SetScanner) Next added in v0.0.147

func (it *SetScanner) Next() *Set

Next() returns the next thing in the array

func (*SetScanner) Scan added in v0.0.147

func (it *SetScanner) Scan() bool

type Sets added in v0.0.147

type Sets struct {
	Uuid     string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`       // `autogenpb:uuid:be926ad9-f07f-484c-adf2-d96eeabf3079`
	Version  string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // `autogenpb:version:v0.0.45`
	Sets     []*Set `protobuf:"bytes,3,rep,name=sets,proto3" json:"sets,omitempty"`
	Filename string `protobuf:"bytes,4,opt,name=Filename,proto3" json:"Filename,omitempty"` // `autogenpb:save` -- this enables autogenerated pb.Load() and pb.Save()
	// contains filtered or unexported fields
}

func NewSets added in v0.0.147

func NewSets() *Sets

func (*Sets) All added in v0.0.147

func (x *Sets) All() *SetScanner

func (*Sets) Append added in v0.0.147

func (x *Sets) Append(y *Set)

a Append() shortcut (that does Clone() with a mutex) notsure if it really works doesn't allow nil

func (*Sets) Clone added in v0.0.177

func (x *Sets) Clone(y *Set) *Set

a Clone() shortcut (with a mutex). notsure if it really works

func (*Sets) Delete added in v0.0.147

func (x *Sets) Delete(y *Set) bool

func (*Sets) Descriptor deprecated added in v0.0.147

func (*Sets) Descriptor() ([]byte, []int)

Deprecated: Use Sets.ProtoReflect.Descriptor instead.

func (*Sets) FormatJSON added in v0.0.147

func (v *Sets) FormatJSON() string

human readable JSON

func (*Sets) FormatTEXT added in v0.0.147

func (v *Sets) FormatTEXT() string

apparently this isn't stable, but it's awesomely better https://protobuf.dev/reference/go/faq/#unstable-text it's brilliant for config files!

func (*Sets) GetFilename added in v0.0.169

func (x *Sets) GetFilename() string

func (*Sets) GetSets added in v0.0.147

func (x *Sets) GetSets() []*Set

func (*Sets) GetUuid added in v0.0.147

func (x *Sets) GetUuid() string

func (*Sets) GetVersion added in v0.0.147

func (x *Sets) GetVersion() string

func (*Sets) HttpPost added in v0.0.147

func (p *Sets) HttpPost(baseURL string, route string) (*Sets, *httppb.HttpRequest, error)

Marshal protobuf, then http POST, then Unmarshal() to protobuf again

func (*Sets) HttpPostVerbose added in v0.0.147

func (p *Sets) HttpPostVerbose(baseURL string, route string) (*Sets, *httppb.HttpRequest, error)

func (*Sets) IterAll added in v0.0.147

func (x *Sets) IterAll() iter.Seq[*Set]

Iterate 'for x := range' syntax using the awesome golang 1.24 'iter'

func (*Sets) Len added in v0.0.147

func (x *Sets) Len() int

func (*Sets) Load added in v0.0.169

func (pb *Sets) Load() error

func (*Sets) Marshal added in v0.0.147

func (v *Sets) Marshal() ([]byte, error)

marshal to wire. This is called winning.

func (*Sets) MarshalJSON added in v0.0.147

func (v *Sets) MarshalJSON() ([]byte, error)

marshal json

func (*Sets) NewTable added in v0.0.147

func (x *Sets) NewTable(title string) *SetsTable

func (*Sets) PrintTable added in v0.0.147

func (pb *Sets) PrintTable()

func (*Sets) ProtoMessage added in v0.0.147

func (*Sets) ProtoMessage()

func (*Sets) ProtoReflect added in v0.0.147

func (x *Sets) ProtoReflect() protoreflect.Message

func (*Sets) Reset added in v0.0.147

func (x *Sets) Reset()

func (*Sets) Save added in v0.0.169

func (pb *Sets) Save() error

func (*Sets) SendReply added in v0.0.147

func (p *Sets) SendReply(w http.ResponseWriter, reqPB *httppb.HttpRequest) error

func (*Sets) String added in v0.0.147

func (x *Sets) String() string

func (*Sets) Unmarshal added in v0.0.147

func (v *Sets) Unmarshal(data []byte) error

unmarshal from wire. You have won.

func (*Sets) UnmarshalJSON added in v0.0.147

func (v *Sets) UnmarshalJSON(data []byte) error

unmarshal json

func (*Sets) UnmarshalTEXT added in v0.0.147

func (v *Sets) UnmarshalTEXT(data []byte) error

unmarshalTEXT. This reads the .text config file back in after the user edits it

type SetsScanner added in v0.0.147

type SetsScanner struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*SetsScanner) Next added in v0.0.147

func (it *SetsScanner) Next() *Sets

Next() returns the next thing in the array

func (*SetsScanner) Scan added in v0.0.147

func (it *SetsScanner) Scan() bool

type SetsTable added in v0.0.147

type SetsTable struct {
	Funcs      []*SetFunc
	CustomFunc func(*Set)
	// contains filtered or unexported fields
}

func (*SetsTable) AddButtonFunc added in v0.0.147

func (t *SetsTable) AddButtonFunc(title string, f func(*Set) string) *SetFunc

force the application to choose the type of data. this allows the GUI plugin to be smarter

func (*SetsTable) AddComment added in v0.0.147

func (t *SetsTable) AddComment() *SetFunc

func (*SetsTable) AddEndBranchHash added in v0.0.147

func (t *SetsTable) AddEndBranchHash() *SetFunc

func (*SetsTable) AddEndBranchName added in v0.0.147

func (t *SetsTable) AddEndBranchName() *SetFunc

func (*SetsTable) AddGitAuthorEmail added in v0.0.147

func (t *SetsTable) AddGitAuthorEmail() *SetFunc

func (*SetsTable) AddGitAuthorName added in v0.0.147

func (t *SetsTable) AddGitAuthorName() *SetFunc

func (*SetsTable) AddHostname added in v0.0.147

func (t *SetsTable) AddHostname() *SetFunc

func (*SetsTable) AddIntFunc added in v0.0.147

func (t *SetsTable) AddIntFunc(title string, f func(*Set) int) *SetFunc

force the application to choose the type of data. this allows the GUI plugin to be smarter

func (*SetsTable) AddName added in v0.0.147

func (t *SetsTable) AddName() *SetFunc

func (*SetsTable) AddStartBranchHash added in v0.0.147

func (t *SetsTable) AddStartBranchHash() *SetFunc

func (*SetsTable) AddStartBranchName added in v0.0.147

func (t *SetsTable) AddStartBranchName() *SetFunc

func (*SetsTable) AddState added in v0.0.147

func (t *SetsTable) AddState() *SetFunc

func (*SetsTable) AddStringFunc added in v0.0.147

func (t *SetsTable) AddStringFunc(title string, f func(*Set) string) *SetFunc

force the application to choose the type of data. this allows the GUI plugin to be smarter

func (*SetsTable) AddSubmitter added in v0.0.147

func (t *SetsTable) AddSubmitter() *SetFunc

func (*SetsTable) AddTimeFunc added in v0.0.147

func (t *SetsTable) AddTimeFunc(title string, f func(*Set) time.Time) *SetFunc

force the application to choose the type of data. this allows the GUI plugin to be smarter

func (*SetsTable) AddTmpDir added in v0.0.147

func (t *SetsTable) AddTmpDir() *SetFunc

func (*SetsTable) AddUuid added in v0.0.147

func (t *SetsTable) AddUuid() *SetFunc

func (*SetsTable) Custom added in v0.0.147

func (mt *SetsTable) Custom(f func(*Set))

func (*SetsTable) Delete added in v0.0.147

func (mt *SetsTable) Delete()

func (*SetsTable) GetUuid added in v0.0.147

func (mt *SetsTable) GetUuid() string

func (*SetsTable) MakeTable added in v0.0.147

func (mt *SetsTable) MakeTable()

func (*SetsTable) NewUuid added in v0.0.147

func (mt *SetsTable) NewUuid()

func (*SetsTable) PrintTable added in v0.0.151

func (t *SetsTable) PrintTable()

formats & prints the table as text to Stdout. a real timesaver!

func (*SetsTable) SetParent added in v0.0.147

func (mt *SetsTable) SetParent(p *gui.Node)

func (*SetsTable) ShowTable added in v0.0.147

func (mt *SetsTable) ShowTable()

Jump to

Keyboard shortcuts

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