stg

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	// contains filtered or unexported fields
}

func New

func New(cwd string) *Storage

func (*Storage) PatchDir

func (s *Storage) PatchDir(resID string, targetVerID int) string

func (*Storage) PatchExists

func (s *Storage) PatchExists(resID string, targetVerID, currentVerID int) (bool, error)

func (*Storage) PatchPath

func (s *Storage) PatchPath(resID string, targetVerID, currentVerID int) string

func (*Storage) ResourcePath

func (s *Storage) ResourcePath(resID string, verID int) string

func (*Storage) VersionDir

func (s *Storage) VersionDir(resID string, verID int) string

Jump to

Keyboard shortcuts

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