config

package
v0.23.2 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultConfigPath = ".dep-tree.yml"

Variables

View Source
var SampleConfig string

Functions

This section is empty.

Types

type Config

type Config struct {
	Path          string
	Source        string
	Exclude       []string      `yaml:"exclude"`
	Only          []string      `yaml:"only"`
	UnwrapExports bool          `yaml:"unwrapExports"`
	Check         check.Config  `yaml:"check"`
	Js            js.Config     `yaml:"js"`
	Rust          rust.Config   `yaml:"rust"`
	Python        python.Config `yaml:"python"`
	Golang        golang.Config `yaml:"golang"`
}

func NewConfigCwd added in v0.22.3

func NewConfigCwd() Config

func ParseConfigFromFile added in v0.22.3

func ParseConfigFromFile(cfgPath string) (*Config, error)

func (*Config) EnsureAbsPaths added in v0.22.3

func (c *Config) EnsureAbsPaths()

func (*Config) ValidatePatterns added in v0.22.3

func (c *Config) ValidatePatterns() error

Jump to

Keyboard shortcuts

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