ClientImporter

@Singleton
class ClientImporter @Inject constructor(database: Database, alloc: ByteBufAllocator, packClassLibraryReader: PackClassLibraryReader, importer: BlobImporter)

Constructors

Link copied to clipboard
@Inject
constructor(database: Database, alloc: ByteBufAllocator, packClassLibraryReader: PackClassLibraryReader, importer: BlobImporter)

Functions

Link copied to clipboard
suspend fun import(paths: Iterable<Path>, name: String?, description: String?, url: String?, skipErrors: Boolean)
suspend fun import(artifact: Artifact, name: String?, description: String?, url: String?, fileName: String, timestamp: Instant)
fun import(connection: Connection, artifact: Artifact, name: String?, description: String?, url: String?, fileName: String, timestamp: Instant)
Link copied to clipboard
fun parse(buf: ByteBuf): Artifact
Link copied to clipboard
suspend fun refresh()