folders

package
v1.0.101 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindFiles_FromDirectory added in v1.0.65

func FindFiles_FromDirectory(dir string, Suffix string) ([]string, error)

FindFiles_FromDirectory - возвращает список файлов, начиная в директории dir, с суффиксом(расширение файла) Suffix

Types

type File

type File struct {
	Name string
}

type Folder

type Folder struct {
	FileName string
	Name     string
	Files    []*File
	Folders  map[string]*Folder
}

func FindFoldersTree

func FindFoldersTree(dir string, NeedFolders, NeedFiles, NeedDot bool, MassExclude []string) *Folder

FindFoldersTree - возвращает дерево каталогов и файлов, начиная с директории dir

func (*Folder) String

func (f *Folder) String() string

Jump to

Keyboard shortcuts

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