config

package
v0.0.0-...-02aabe3 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Extensions []string `json:"extensions"`
	Ignore     []string `json:"ignore"`
}

func LoadConfig

func LoadConfig(file string) (*Config, error)

func (*Config) ContainsExtension

func (c *Config) ContainsExtension(file string) bool

func (*Config) IsAccept

func (c *Config) IsAccept(file string) bool

func (*Config) IsIgnored

func (c *Config) IsIgnored(file string) bool

Jump to

Keyboard shortcuts

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