fs

package
v0.2.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSGlob

func CreateSGlob(line string) *regexp.Regexp

Types

type Node

type Node struct {
	Name lexer.AST
}

type TreeItem

type TreeItem struct {
	Source string
	IsDir  bool
	Nodes  []Node
}

func ScanTree

func ScanTree(source string) ([]TreeItem, error)

ScanTree takes a source directory and returns a slice of TreeItem ready to be processed by a renderer

Jump to

Keyboard shortcuts

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