C# Class Google.VersionHandler.ManifestReferences

Stores current and obsolete file references for a package.
Afficher le fichier Open project: googlesamples/unity-jar-resolver

Méthodes publiques

Свойство Type Description
currentFiles HashSet
currentMetadata FileMetadata
filenameCanonical string
obsoleteFiles HashSet

Méthodes publiques

Méthode 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 méthode

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

ManifestReferences() public méthode

Create an instance.
public ManifestReferences ( ) : UnityEngine
Résultat UnityEngine

ParseManifests() public méthode

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.
Résultat bool

Property Details

currentFiles public_oe property

Set of current files in this package.
public HashSet currentFiles
Résultat HashSet

currentMetadata public_oe property

Metadata which references the most recent version metadata file.
public FileMetadata currentMetadata
Résultat FileMetadata

filenameCanonical public_oe property

Name of this package.
public string filenameCanonical
Résultat string

obsoleteFiles public_oe property

Set of obsolete files in this package.
public HashSet obsoleteFiles
Résultat HashSet