Loader.fromFile

Loader fromFile(string filename) @trusted

Construct a Loader to load YAML from a file.

Parameters

filenameName of the file to load from.
fileAlready-opened file to load from.

Throws

YAMLException if the file could not be opened or read.
Loader fromFile(File file) @system

ditto