InMemoryArtifactService
A thread-safe in-memory implementation of the ArtifactService.
Functions
Link copied to clipboard
Deletes an artifact.
Link copied to clipboard
Lists the filenames of all artifacts within a session.
Link copied to clipboard
Lists all the versions (as revision IDs) of an artifact.
Link copied to clipboard
open suspend override fun loadArtifact(sessionKey: SessionKey, filename: String, version: Int?): Part?
Gets an artifact.
Link copied to clipboard
open suspend override fun saveAndReloadArtifact(sessionKey: SessionKey, filename: String, artifact: Part): Part
Saves an artifact and returns it with fileData if available.
Link copied to clipboard
open suspend override fun saveArtifact(sessionKey: SessionKey, filename: String, artifact: Part): Int
Saves an artifact.