Documentation
¶
Overview ¶
Package vscode provides a file-based signal mechanism for opening VSCode from inside a container on the host machine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupSignalDir ¶
func CleanupSignalDir(dir string)
CleanupSignalDir removes the signal directory and its contents.
func EnsureSignalDir ¶
EnsureSignalDir creates the signal directory if it doesn't exist.
func SignalDirName ¶
SignalDirName returns the signal directory name for a container.
func StartWatcher ¶
StartWatcher watches a signal directory for VSCode open requests. When a file appears, it reads the path from the file, opens it with the code command on the host, and deletes the signal file. Returns when ctx is cancelled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.