utils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindProjectKanukaRoot

func FindProjectKanukaRoot() (string, error)

FindProjectKanukaRoot traverses up directories to find the project's Kanuka root. Returns the path to the project root if found, empty string otherwise. Stops searching when it reaches the user's home directory.

func FormatPaths

func FormatPaths(paths []string) string

FormatPaths formats a slice of paths into a readable string.

func GetProjectName

func GetProjectName() (string, error)

GetProjectName returns the name of the current project (directory).

func GetUsername

func GetUsername() (string, error)

GetUsername returns the current username.

Types

This section is empty.

Jump to

Keyboard shortcuts

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