Documentation ¶
Index ¶
- func AggregateConfig(rootDir string) (*conf.Config, error)
- func GetWRGLDir() (string, error)
- func MustGetRemote(cmd *cobra.Command, c *conf.Config, name string) *conf.ConfigRemote
- func MustWRGLDir(cmd *cobra.Command) string
- func OpenConfig(system, global bool, rootDir, file string) (c *conf.Config, err error)
- func PagerOrOut(cmd *cobra.Command) (io.Writer, func(), error)
- func PrintTable(w io.Writer, rows [][]string, indent int)
- func SaveConfig(c *conf.Config) error
- type RepoDir
- func (d *RepoDir) Exist() bool
- func (d *RepoDir) FilesPath() string
- func (d *RepoDir) Init() error
- func (d *RepoDir) KVPath() string
- func (d *RepoDir) OpenObjectsStore() (objects.Store, error)
- func (d *RepoDir) OpenObjectsTransaction() (*objbadger.Txn, error)
- func (d *RepoDir) OpenRefStore() ref.Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetWRGLDir ¶
func MustGetRemote ¶
func MustWRGLDir ¶
func OpenConfig ¶
func PrintTable ¶
PrintTable prints simple table from rows of text
func SaveConfig ¶
Types ¶
type RepoDir ¶
type RepoDir struct { FullPath string // contains filtered or unexported fields }
func NewRepoDir ¶
func (*RepoDir) OpenObjectsTransaction ¶
func (*RepoDir) OpenRefStore ¶
Click to show internal directories.
Click to hide internal directories.