core

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(opt *commandline.Option) error

func ApplySort

func ApplySort(files []os.DirEntry)

func CanBoaded

func CanBoaded(opt *commandline.Option, path string) bool

func GenerateTreeString

func GenerateTreeString(path string, indent string, allowedFileListMap map[string]bool, opt *commandline.Option) (string, map[string]bool, error)

func IsHiddenFile

func IsHiddenFile(name string) bool

func IsUnderGitDir

func IsUnderGitDir(path string) bool

func PrependDescriptionWithFormat

func PrependDescriptionWithFormat(projectName, root string, format model.OutputFormat) string

PrependDescriptionWithFormat prepends a descriptive header suitable for AI processing in either plain text or markdown format.

func WriteAllFiles added in v0.2.0

func WriteAllFiles(treeStr string, root string, outputPath string, allowedFileListMap map[string]bool, opt *commandline.Option) error

func WriteAllFilesAsXML added in v0.2.0

func WriteAllFilesAsXML(treeStr string, root string, outputPath string, allowedFileListMap map[string]bool, opt *commandline.Option) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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