cache

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

View Source
var ExcludedPathRegexes = CompileExcludedPaths()

Precompiled regex patterns for excluded paths

View Source
var PartialFilePathRegexes = CompilePartialFileList()
View Source
var SizeCache sync.Map // Map[filePath]*sync.Map (snapshotId -> size)

Functions

func CompileExcludedPaths

func CompileExcludedPaths() []*regexp.Regexp

func CompilePartialFileList

func CompilePartialFileList() []*regexp.Regexp

Types

type ExclusionData

type ExclusionData struct {
	Path    string `json:"path"`
	Comment string `json:"comment"`
}

type ExclusionResp

type ExclusionResp struct {
	Data []ExclusionData `json:"data"`
}

type PartialFileData

type PartialFileData struct {
	Path    string `json:"path"`
	Comment string `json:"comment"`
}

type PartialFileResp

type PartialFileResp struct {
	Data []PartialFileData `json:"data"`
}

Jump to

Keyboard shortcuts

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