tree

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WalkDir

func WalkDir(root string, cfg *config.Config) ([]types.Entry, error)

Types

type WalkResult

type WalkResult struct {
	Entries []_type.Entry
	Metrics metrics.Metrics
}

WalkResult содержит результат обхода директории

func WalkDirWithContext

func WalkDirWithContext(
	ctx context.Context,
	root string,
	cfg *config.Config,
	progressEnabled bool,
) (WalkResult, error)

WalkDirWithContext обходит директорию с прогрессом в реальном времени

Jump to

Keyboard shortcuts

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