dir

package
v0.0.0-...-6b3cdd0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 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 Dir

type Dir struct {
	List      [][]string
	Blacklist []string
}

Dir holds directory information to insert into templates

func (*Dir) Clean

func (d *Dir) Clean() []string

Clean dupes

func (*Dir) Exists

func (d *Dir) Exists(newDir string) bool

Exists checks if a directory exists or not

func (*Dir) Insert

func (d *Dir) Insert(newDir string)

Insert a new folder to the list

func (*Dir) Parse

func (d *Dir) Parse(newDir string) []string

Parse a directory to build a list of directories to be made at b0x.go

Jump to

Keyboard shortcuts

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