parser

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MaxRecursions     = 20
	MaxFileLength     = 10000
	ToSendDirName     = "sendGPT"
	MashFileName      = "mash.gpt"
	IgnoreFiles       = []string{MashFileName, "package-lock.json"}
	IgnoreExt         = []string{".png", ".jpg", ".gpt"}
	IgnoreDirectories = []string{".git", ToSendDirName, "node_modules"}
)

Functions

func Run

func Run(opts Options) error

Types

type Node added in v0.0.8

type Node struct {
	Name     string
	IsDir    bool
	Children []*Node
}

type Options

type Options struct {
	SplitFiles bool
	Clipboard  bool
	Include    []string
	Exclude    []string
	Quiet      bool
	MaxSize    int64
}

type ParseOptions added in v0.0.8

type ParseOptions struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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