# Functions
Add unpacks and adds the <content> into the default resource object.
Contains checks whether the <path> exists in the default resource object.
Dump prints the files of the default resource object.
Get returns the file with given path.
GetContent directly returns the content of <path> in default resource object.
GetWithIndex searches file with <path>, if the file is directory it then does index files searching under this directory.
Instance returns an instance of Resource.
IsEmpty checks and returns whether the resource manager is empty.
Load loads, unpacks and adds the data from <path> into the default resource object.
New creates and returns a new resource object.
Pack packs the path specified by <srcPaths> into bytes.
PackToFile packs the path specified by <srcPaths> to target file <dstPath>.
PackToGoFile packs the path specified by <srcPaths> to target go file <goFilePath> with given package name <pkgName>.
ScanDir returns the files under the given path, the parameter <path> should be a folder type.
ScanDirFile returns all sub-files with absolute paths of given <path>, It scans directory recursively if given parameter <recursive> is true.
Unpack unpacks the content specified by <path> to []*File.
UnpackContent unpacks the content to []*File.