cache

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewManager

func NewManager() *Manager

func (*Manager) GetAllRouteIDS

func (cm *Manager) GetAllRouteIDS() []string

func (*Manager) GetClientBuild

func (cm *Manager) GetClientBuild(filePath string) (reactbuilder.BuildResult, bool)

func (*Manager) GetParentFilesFromDependency

func (cm *Manager) GetParentFilesFromDependency(dependencyPath string) []string

func (*Manager) GetRouteIDSForParentFile

func (cm *Manager) GetRouteIDSForParentFile(filePath string) []string

func (*Manager) GetRouteIDSWithFile

func (cm *Manager) GetRouteIDSWithFile(filePath string) []string

func (*Manager) GetServerBuild

func (cm *Manager) GetServerBuild(filePath string) (reactbuilder.BuildResult, bool)

func (*Manager) RemoveClientBuild

func (cm *Manager) RemoveClientBuild(filePath string)

func (*Manager) RemoveServerBuild

func (cm *Manager) RemoveServerBuild(filePath string)

func (*Manager) SetClientBuild

func (cm *Manager) SetClientBuild(filePath string, build reactbuilder.BuildResult)

func (*Manager) SetParentFile

func (cm *Manager) SetParentFile(routeID, filePath string)

func (*Manager) SetParentFileDependencies

func (cm *Manager) SetParentFileDependencies(filePath string, dependencies []string)

func (*Manager) SetServerBuild

func (cm *Manager) SetServerBuild(filePath string, build reactbuilder.BuildResult)

Jump to

Keyboard shortcuts

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