workspace

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompleteDirectoryPath

func CompleteDirectoryPath(input string) string

CompleteDirectoryPath attempts to complete a partial directory path. It returns the completed path if a unique match is found, or the longest common prefix if multiple matches exist. Returns the original input if no matches are found.

func NormalizeWorkspacePath

func NormalizeWorkspacePath(input string) (string, error)

NormalizeWorkspacePath normalizes a workspace path input from the user. It expands ~, converts relative paths to absolute, resolves symlinks, and validates that the path exists and is a directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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