Documentation
¶
Index ¶
- type Cache
- func (m *Cache) EnsureDir(dir string) error
- func (m *Cache) FileExists(filename string) bool
- func (m *Cache) GetBundlePath(patch, bundleName string) string
- func (m *Cache) GetCacheDir() string
- func (m *Cache) GetFileSize(filename string) int64
- func (m *Cache) GetIndexPath(patch string) string
- func (m *Cache) GetPatchDir(patch string) string
- func (m *Cache) GetSchemaPath() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct{}
Cache handles cache directory operations and file validation
func (*Cache) FileExists ¶
FileExists checks if a file exists
func (*Cache) GetBundlePath ¶
GetBundlePath returns the path to a bundle file for a patch
func (*Cache) GetCacheDir ¶
GetPatchDir returns the cache directory for a patch version
func (*Cache) GetFileSize ¶
GetFileSize returns the size of a file, or 0 if it doesn't exist
func (*Cache) GetIndexPath ¶
GetIndexPath returns the path to the index file for a patch
func (*Cache) GetPatchDir ¶
GetPatchDir returns the cache directory for a patch version
func (*Cache) GetSchemaPath ¶
GetSchemaPath returns the path to a bundle file for a patch
Click to show internal directories.
Click to hide internal directories.