models

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 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"`
}

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