fsutils

package
v0.0.0-...-993d511 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProjectRoot

func GetProjectRoot() string

Types

type PathResolveResult

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

func (PathResolveResult) Dirs

func (prr PathResolveResult) Dirs() []string

func (PathResolveResult) Files

func (prr PathResolveResult) Files() []string

type PathResolver

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

func NewPathResolver

func NewPathResolver(excludeDirs, allowedFileExtensions []string) *PathResolver

func (PathResolver) Resolve

func (pr PathResolver) Resolve(paths ...string) (*PathResolveResult, error)

Jump to

Keyboard shortcuts

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