models

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetPathInfo

type AssetPathInfo struct {
	Path             string
	IsValidAssetPath bool
	IsMeta           bool
}

func NewAssetPathInfo added in v0.1.2

func NewAssetPathInfo(assetPath string, isDir bool) *AssetPathInfo

type Options

type Options struct {
	ProjectPath  string `short:"p" long:"project" description:"Path to unity project" default:"."`
	Output       string `short:"o" long:"output" description:"Output file"`
	RaiseError   bool   `short:"e" long:"raise-error" description:"Exit as error if even one is listed"`
	TemplatePath string `short:"t" long:"template" description:"Path to template file used to rendering reports"`
}

type Result

type Result struct {
	DanglingMetaPaths  []string
	MetalessAssetPaths []string
}

func NewResult

func NewResult(danglingMetaPaths, metalessAssetPaths []string) *Result

func (*Result) HasContent

func (r *Result) HasContent() bool

Jump to

Keyboard shortcuts

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