DownloadedFileMetadata

@Serializable
class DownloadedFileMetadata(val fromUrl: String, val contentType: String?)(source)

Additional information about the file we just downloaded.

If a file is downloaded to "/path/to/cache/target.txt", then metadata about the download will be stored in "/path/to/cache/target.txt.metadata.json".

Constructors

Link copied to clipboard
constructor(fromUrl: String, contentType: String?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard