Documentation ¶
Index ¶
- func AttemptExtractDataFromPak(ctx context.Context, reader parser.PakReader) (data map[string]map[string][]interface{}, err error)
- func DecodeArrayProperty(ctx context.Context, property *parser.FPropertyTag) []interface{}
- func DecodeProperty(ctx context.Context, cleanName string, property *parser.FPropertyTag) interface{}
- func DecodePropertyFields(ctx context.Context, properties []*parser.FPropertyTag) map[string]interface{}
- func DecodeStructProperty(ctx context.Context, property *parser.FPropertyTag) interface{}
- func ExtractDataFromPak(ctx context.Context, reader parser.PakReader) map[string]map[string][]interface{}
- func FPackageIndexToString(index interface{}) string
- func FPackageIndexToStringSpecial(index interface{}) string
- func GetTreeSize(className string) int
- func InitializeValidator()
- func InitializeVirusTotal()
- func IsA(child string, parent string) bool
- func ScanFiles(ctx context.Context, files []io.Reader, names []string) (bool, error)
- type AnalysisResults
- type ModInfo
- type ModObject
- type Plugin
- type UPlugin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeArrayProperty ¶
func DecodeArrayProperty(ctx context.Context, property *parser.FPropertyTag) []interface{}
func DecodeProperty ¶
func DecodeProperty(ctx context.Context, cleanName string, property *parser.FPropertyTag) interface{}
func DecodePropertyFields ¶
func DecodePropertyFields(ctx context.Context, properties []*parser.FPropertyTag) map[string]interface{}
func DecodeStructProperty ¶
func DecodeStructProperty(ctx context.Context, property *parser.FPropertyTag) interface{}
func ExtractDataFromPak ¶
func ExtractDataFromPak(ctx context.Context, reader parser.PakReader) map[string]map[string][]interface{}
TODO Extract Images
func FPackageIndexToString ¶
func FPackageIndexToString(index interface{}) string
func FPackageIndexToStringSpecial ¶
func FPackageIndexToStringSpecial(index interface{}) string
func GetTreeSize ¶
func InitializeValidator ¶
func InitializeValidator()
func InitializeVirusTotal ¶
func InitializeVirusTotal()
Types ¶
type AnalysisResults ¶
type ModInfo ¶
type ModInfo struct { ModReference string `json:"mod_reference"` Version string `json:"version"` Objects []ModObject `json:"objects"` Dependencies map[string]string `json:"dependencies"` OptionalDependencies map[string]string `json:"optional_dependencies"` Metadata []map[string]map[string][]interface{} `json:"-"` Size int64 `json:"-"` Hash string `json:"-"` Semver *semver.Version `json:"-"` SMLVersion string `json:"sml_version"` }
Click to show internal directories.
Click to hide internal directories.