codebase

package
v0.0.0-...-152d135 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package codebase let's you manage codebases

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(name string, path string) (*config.Config, error)

Add a codebase to the list of supported codebases

func Default

func Default() string

Default gets the default codebase

func GetDir

func GetDir(codebase string) (string, error)

GetDir retrieves the directory of a specific workspace

func List

func List() map[string]string

List all supported codebases

func Remove

func Remove(remove string) (*config.Config, error)

Remove an existing codebase

func SetDefault

func SetDefault(def string) error

SetDefault sets the default codebase

Types

This section is empty.

Jump to

Keyboard shortcuts

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