Documentation
¶
Overview ¶
Package pathutil provides cross-platform path utilities for cdev.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodePath ¶
EncodePath converts a filesystem path to a flat string safe for use as a directory or file name. This matches the encoding Claude CLI uses for session storage under ~/.claude/projects/.
Examples:
Unix: /Users/brian/Projects/cdev → -Users-brian-Projects-cdev Windows: C:\Users\brian\Projects\cdev → -C:-Users-brian-Projects-cdev
func ShellCommand ¶
ShellCommand returns an *exec.Cmd that runs the given command string through the platform's default shell.
Unix/macOS: bash -c "<command>" Windows: cmd.exe /C "<command>"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.