PuppetResourceFormatLoader.load_

Loads the given resource from the given path.

class PuppetResourceFormatLoader
@nogc override
Variant
load_
(
String path
,,,)

Parameters

path String

The path to the file to load.

originalpath String

The original path of the file.

usesubthreads bool

Whether to use sub-threads.

cachemode long

The caching mode.

Return Value

Type: Variant

A variant wrapping a referenced resource on success, Variant.init otherwise.

Meta