dirpkg

package
Version: v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

View Source
var Dir = Rule{

	Name: namepkg.Rule{MaxLen: 30, Style: "lower_case"},
	Size: sizeRule{MaxEntries: 20},
	// contains filtered or unexported fields
}

Functions

func Check

func Check(path string)
Example
problems.Clear()
Check("")
Check("../dir")
Check(".")
Check("..")
problems.Render()
Output:

Types

type Rule

type Rule struct {
	Name namepkg.Rule
	Size sizeRule
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL