openEditor

abstract fun openEditor(key: String): DiskCache.Editor?

Write to the entry associated with key.

IMPORTANT: You must call one of Editor.commit, Editor.commitAndOpenSnapshot, or Editor.abort to complete the edit. An open editor prevents opening a new Snapshot, opening a new Editor, or deleting the entry on disk.