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

paths

package
v5.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncompassingPaths

func EncompassingPaths(paths []string) []string

EncompassingPaths returns the minimal set of paths that root all paths from the original collection.

For example, ["/foo", "/foo/bar", "/foo", "/baz"] -> ["/foo", "/baz].

func IsChild

func IsChild(dir string, file string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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