api / org.gradle.caching / BuildCacheEntryWriter / writeTo

writeTo

abstract fun writeTo(output: OutputStream): Unit

Writes a build cache entry to the given stream.

The given output stream will be closed by this method.

Parameters

output - output stream to write build cache entry to

Exceptions

IOException - when an I/O error occurs when writing the cache entry to the given output stream