C# Class Google.VersionHandler.ManifestReferences

Stores current and obsolete file references for a package.
Datei anzeigen Open project: googlesamples/unity-jar-resolver

Public Properties

Property Type Description
currentFiles HashSet
currentMetadata FileMetadata
filenameCanonical string
obsoleteFiles HashSet

Public Methods

Method Description
FindAndReadManifests ( FileMetadataSet metadataSet ) : List

Find and read all package manifests.

ManifestReferences ( ) : UnityEngine

Create an instance.

ParseManifests ( FileMetadataByVersion metadataByVersion, FileMetadataSet metadataSet ) : bool

Parse current and obsolete file references from a package's manifest files.

Method Details

FindAndReadManifests() public static method

Find and read all package manifests.
public static FindAndReadManifests ( FileMetadataSet metadataSet ) : List
metadataSet FileMetadataSet Set to query for manifest files.
return List

ManifestReferences() public method

Create an instance.
public ManifestReferences ( ) : UnityEngine
return UnityEngine

ParseManifests() public method

Parse current and obsolete file references from a package's manifest files.
public ParseManifests ( FileMetadataByVersion metadataByVersion, FileMetadataSet metadataSet ) : bool
metadataByVersion FileMetadataByVersion Metadata for files ordered by /// version number. If the metadata does not have the isManifest /// attribute it is ignored.
metadataSet FileMetadataSet Set of all metadata files in the /// project. This is used to handle file renaming in the parsed /// manifest. If the manifest contains files that have been /// renamed it's updated with the new filenames.
return bool

Property Details

currentFiles public_oe property

Set of current files in this package.
public HashSet currentFiles
return HashSet

currentMetadata public_oe property

Metadata which references the most recent version metadata file.
public FileMetadata currentMetadata
return FileMetadata

filenameCanonical public_oe property

Name of this package.
public string filenameCanonical
return string

obsoleteFiles public_oe property

Set of obsolete files in this package.
public HashSet obsoleteFiles
return HashSet