types

package
v0.1.14 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Contents string
	// The full path to the original (source) file
	FullPath string
	// The relative path to the file (relative to the root of the project, e.g. source)
	RelativePath string
	// Mark this file as needs to be discarded (as opposed to just an empty file)
	Discarded bool
}

type FilePattern

type FilePattern struct {
	Pattern string
	// contains filtered or unexported fields
}

func NewFilePatterns

func NewFilePatterns(paths []string) []FilePattern

func (*FilePattern) Match

func (f *FilePattern) Match(path string) (bool, error)

Jump to

Keyboard shortcuts

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