Help us shape the future of Go! Take the 2026 Go Developer Survey

localpathutil

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expand

func Expand(orig string) (string, error)

Expand is from https://github.com/lima-vm/lima/blob/v0.17.2/pkg/localpathutil/localpathutil.go#L11-L34 .

Expand expands a path like "~", "~/", "~/foo". Paths like "~foo/bar" are unsupported.

FIXME: is there an existing library for this?

Types

This section is empty.

Jump to

Keyboard shortcuts

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