filesystem

package
v1.25.24 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolvePaths

func ResolvePaths(paths []string, wl []util.IgnoreListEntry) (pathsToAdd []string, err error)

ResolvePaths takes a slice of file paths and a list of skipped file paths. It resolve each file path according to a set of rules and then returns a slice of resolved paths or error. File paths are resolved according to the following rules: * If path is in ignorelist, skip it. * If path is a symlink, resolve it's ancestor link and add it to the output set. * If path is a symlink, resolve it's target. If the target is not ignored add it to the output set. * Add all ancestors of each path to the output set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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