Class File

A file either read from the user's disk or from an in-memory buffer.

class File
  : NamedComponent ;

Constructors

NameDescription
this (filePath)

Fields

NameTypeDescription
contents const(ubyte)[]Contents of this file.
filePath const(string)Path to this file.

Properties

NameTypeDescription
exists[get] const(bool)Whether this file exists.

See Also

ObservableFile