cache

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	FilePath     string
	AuthFilePath string
	List         []string
}

func New

func New(name, auth string) *Cache

func (*Cache) Match

func (c *Cache) Match(
	pattern []string, ignore []string, ignoreCase bool) ([]string, error)

func (*Cache) Sync

func (c *Cache) Sync(filePath string, update bool, url string, user string, pass string) error

Jump to

Keyboard shortcuts

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