memory

package
v0.48.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GlobalMaxBytes  = 8 * 1024
	ProjectMaxBytes = 16 * 1024
)

Variables

This section is empty.

Functions

func ContainsSecret

func ContainsSecret(content string) bool

func GlobalPath

func GlobalPath() string

func Load

func Load(workingDir string) string

func LoadAt

func LoadAt(globalPath, projectPath string) string

func ProjectPath

func ProjectPath(workingDir string) string

Types

type File

type File struct {
	Path    string
	Scope   Scope
	Exists  bool
	Content string
}

func Files

func Files(workingDir string) (global, project File)

func FilesAt

func FilesAt(globalPath, projectPath string) (global, project File)

type Scope

type Scope string
const (
	ScopeGlobal  Scope = "Global"
	ScopeProject Scope = "Project"
)

Jump to

Keyboard shortcuts

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