paths

package
v2.27.1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 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