Documentation
¶
Index ¶
- func CheckForDecimalMode(mode int, directory bool) error
- func EnsurePathWithinFilesDir(path, filesDir string) error
- func MakeDataURL(contents []byte, currentCompression *string, allowCompression bool) (uri string, compression *string, err error)
- func MergeTranslatedConfigs(parent interface{}, parentTranslations translate.TranslationSet, ...) (interface{}, translate.TranslationSet)
- func VerifyTranslations(t *testing.T, set translate.TranslationSet, exceptions []translate.Translation)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckForDecimalMode ¶
/ CheckForDecimalMode fails if the specified mode appears to have been / incorrectly specified in decimal instead of octal.
func MakeDataURL ¶
func MergeTranslatedConfigs ¶
func MergeTranslatedConfigs(parent interface{}, parentTranslations translate.TranslationSet, child interface{}, childTranslations translate.TranslationSet) (interface{}, translate.TranslationSet)
MergeTranslatedConfigs merges a parent and child config and returns the result. It also generates and returns the merged TranslationSet by mapping the parent/child TranslationSets through the merge transcript.
func VerifyTranslations ¶
func VerifyTranslations(t *testing.T, set translate.TranslationSet, exceptions []translate.Translation)
VerifyTranslations ensures all the translations are identity, unless they match a listed one, and verifies that all the listed ones exist.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.