files

package
v3.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package files contains easy to use filesystem functions (like files finder and filter).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterMissed

func FilterMissed(paths []string) []string

FilterMissed drops any strings, that not points to existing files or directories.

Types

type Locator

type Locator struct {
	// contains filtered or unexported fields
}

func NewLocator

func NewLocator(locations []string, extensions []string) (*Locator, error)

NewLocator creates new files locator.

func (*Locator) Find

func (l *Locator) Find(recursive bool) ([]string, error)

Jump to

Keyboard shortcuts

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