FilesystemLoaderBackend

Read-only resources that are fetched from the local filesystem using absolute paths.

This uses the scheme filesystem:.

Properties

Link copied to clipboard
const val SCHEME: String

Functions

Link copied to clipboard
open fun all(): Set<String>
Link copied to clipboard
open fun checkPath(path: String)
Link copied to clipboard
open override fun exists(path: String): Boolean
Link copied to clipboard
open override fun list(path: String): List<String>
Link copied to clipboard
open override fun open(path: String): BufferedSource?
Link copied to clipboard
open fun put(path: String, data: ByteString)
Link copied to clipboard
open override fun unwatch(path: String)
Link copied to clipboard
open override fun watch(path: String, resourceChangedListener: (address: String) -> Unit)

For changes to the file that have been done externally, since this is a read-only ResourceLoader.