types

package
v0.0.0-...-283c566 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Path string
	Nodr
}

func NewNode

func NewNode(p string) (n Node, err error)

type Nodr

type Nodr interface {
	os.FileInfo
}

type Tree

type Tree []Node

func NewTree

func NewTree(src ...string) Tree

func (Tree) Append

func (t Tree) Append(v ...Node) Tree

func (Tree) GetFilePaths

func (t Tree) GetFilePaths(offset int) (s []string)

GetFilePaths returns all paths in the tree. offset defines the index to start the path for each string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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