Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotCacheable = errors.New("not cacheable")
Functions ¶
Types ¶
type AnalyzedOperation ¶
type AnalyzedOperation struct { Condition CCOption Command string Known map[string][]string ForPP []string Common []string Processed []string Inputs []string Outputs []string TooHard []string }
func Analyze ¶
func Analyze(args []string) (*AnalyzedOperation, error)
func (*AnalyzedOperation) Cachable ¶
func (a *AnalyzedOperation) Cachable() error
func (*AnalyzedOperation) Nonce ¶
func (a *AnalyzedOperation) Nonce() []byte
Nonce hashes the common args to provide a salt to the hashed output from the complier's preprocessing run.
func (*AnalyzedOperation) Output ¶
func (a *AnalyzedOperation) Output() string
func (*AnalyzedOperation) PreprocessArgs ¶
func (a *AnalyzedOperation) PreprocessArgs() []string
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) CalculateCacheInfo ¶
Click to show internal directories.
Click to hide internal directories.