write

open override fun write(pkg: RepositoryPackage, into: FsEntry)

Writes every file of pkg under into, replacing whatever that directory held before.

Parameters

pkg

the package to write

into

target directory, created if missing

Throws

if the files cannot be written

if a file's content cannot be downloaded