VirtualFileSystemPackageWriter

PackageWriter into an in-memory VirtualFileSystem, for tests and for hosts that keep the project in memory.

Parameters

fs

the file system that owns the target directory

Constructors

Link copied to clipboard
constructor(fs: VirtualFileSystem)

Functions

Link copied to clipboard
open override fun write(pkg: RepositoryPackage, into: FsEntry)

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