private Filestruct

File(; kws...)

A File object represents a real, or “virtual”, file within a Project.

The following are the available keyword’s supported by the File constructor.

  • name: full path to the File. nothing if it is “virtual”.
  • mime: the MIME type as defined above.
  • text: Raw String content of the File.
  • dict: Dict{String,Any} data from a parsed .toml file.
  • node: CommonMark.Node abstract syntax tree from a parsed markdown file.