ContentRoot

interface ContentRoot

Root abstraction for a content location, either a local directory or a remote repository.

Inheritors

Properties

Link copied to clipboard
abstract val remote: Boolean

Whether this root points to a remote location.

Link copied to clipboard
abstract val sourcePrefix: String

The prefix path or URL used to resolve files within this root.

Functions

Link copied to clipboard
abstract fun file(path: String): ContentSource

Creates a ContentSource for the given relative path within this root.