anbuGenerics

package
v1.2.19 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BulkRename added in v0.1.4

func BulkRename(pattern string, replacement string, renameDirectories bool, dryRun bool)

func ConvertData added in v0.1.7

func ConvertData(converterType string, input string)

Primary Handler

func FindDuplicates added in v1.2.0

func FindDuplicates(recursive bool, delete bool)

func GeneratePassPhrase added in v0.1.3

func GeneratePassPhrase(lengthS string, separator string, simple bool)

func GeneratePassword added in v0.1.3

func GeneratePassword(lengthS string, simple bool)

func GenerateRUIDString added in v0.1.5

func GenerateRUIDString(len string)

generates shorter UUID string

func GenerateRandomString

func GenerateRandomString(length int)

func GenerateRepetitionString added in v0.1.5

func GenerateRepetitionString(count int, str string)

func GenerateSequenceString added in v0.1.5

func GenerateSequenceString(length int)

func GenerateUUIDString added in v0.1.5

func GenerateUUIDString()

func ManualRename added in v1.1.8

func ManualRename(includeDir bool, hidden bool, includeExtension bool)

func Sed added in v1.1.5

func Sed(pattern string, replacement string, path string, dryRun bool)

func StartMarkdownServer added in v1.0.4

func StartMarkdownServer(listenAddr string) error

func StashApply added in v1.1.0

func StashApply(id int) error

func StashClear added in v1.1.0

func StashClear(id int) error

func StashFS added in v1.1.0

func StashFS(path string) error

func StashList added in v1.1.0

func StashList() error

func StashPop added in v1.1.0

func StashPop(id int) error

func StashText added in v1.1.0

func StashText(name string) error

func TimeCurrent added in v0.1.5

func TimeCurrent()

func TimeEpochDiff added in v0.1.5

func TimeEpochDiff(epochs []int64)

func TimeISO added in v1.1.2

func TimeISO()

func TimeParse added in v0.1.5

func TimeParse(timeStr string, printType string)

func TimePurple added in v0.1.5

func TimePurple()

Types

type FileNode added in v1.0.4

type FileNode struct {
	IsDir    bool                `json:"isDir,omitempty"`
	Children map[string]FileNode `json:"children,omitempty"`
}

type MarkdownServer added in v1.0.4

type MarkdownServer struct {
	Options *MarkdownServerOptions
}

type MarkdownServerOptions added in v1.0.4

type MarkdownServerOptions struct {
	ListenAddress string
	RootDir       string
}

type StashEntry added in v1.1.0

type StashEntry struct {
	ID           int       `json:"id"`
	Type         StashType `json:"type"`
	Name         string    `json:"name"`
	OriginalPath string    `json:"original_path"`
	BlobName     string    `json:"blob_name"`
	CreatedAt    time.Time `json:"created_at"`
}

type StashIndex added in v1.1.0

type StashIndex struct {
	NextID  int          `json:"next_id"`
	Entries []StashEntry `json:"entries"`
}

type StashType added in v1.1.0

type StashType string
const (
	TypeFS   StashType = "fs"
	TypeText StashType = "text"
)

Jump to

Keyboard shortcuts

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