FileManifestProvider

Depot manifest provider that stores depot manifests in a zip file.

Author

Oxters

Since

2024-11-07

Parameters

file

the file that will store the depot manifests

Constructors

Link copied to clipboard
constructor(file: File)

Instantiates a FileManifestProvider object.

constructor(filename: String)

Instantiates a FileManifestProvider object.

constructor(file: Path)

Instantiates a FileManifestProvider object.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun fetchLatestManifest(depotID: Int): DepotManifest?

Ask a provider to fetch the most recent manifest used of a depot

Link copied to clipboard
open override fun fetchManifest(depotID: Int, manifestID: Long): DepotManifest?

Ask a provider to fetch a specific depot manifest

Link copied to clipboard
open override fun setLatestManifestId(depotID: Int, manifestID: Long)

Ask a provider to set the most recent manifest ID used of a depot

Link copied to clipboard
open override fun updateManifest(manifest: DepotManifest)

Update the persistent depot manifest