Documentation ¶
Index ¶
- Variables
- func AddToLS(lsName, newWB string) error
- func AppendWB(name, entry string) error
- func ClearWB(name string) error
- func EmptyTrash() error
- func GetBoardsGITDir() (string, error)
- func GetRepoPath(name, dir string) (string, error)
- func GetTrashPath() (string, error)
- func GetWB(name string) (content []string, found bool)
- func GetWBRaw(name string) (content []byte, found bool)
- func GetWbBackupRepoPath() (string, error)
- func GetWbInTrashPath(name string) (string, error)
- func GetWbPath(name string) (string, error)
- func IterateWBs(iterFn IterateFn) error
- func MoveWbToTrash(name string) error
- func MustClearWB(name string)
- func MustPrependWB(name, entry string)
- func PrependWB(name, entry string) error
- func RecoverWbFromTrash(name string) error
- func RemoveFromLS(lsName, remove string) error
- func ReplaceInLS(lsName, oldName, newName string) error
- func WbExists(name string) (found bool)
- type IterateFn
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BoardsDir = "boards" TrashDir = "trash" )
directory name where boards are stored in repo
Functions ¶
func GetRepoPath ¶
get the full path of a wb in a directory
func GetWbBackupRepoPath ¶
get the full path of a wb backup repo
func GetWbInTrashPath ¶
get the full path of a wb in the trash
func IterateWBs ¶
perform the provided iterateFn for all wbs
func MoveWbToTrash ¶
move a wb from the boards dir to the trash DIR
func RecoverWbFromTrash ¶
move a wb from the boards dir to the trash DIR
Types ¶
Click to show internal directories.
Click to hide internal directories.