dragon
  • Pages
  • Modules
  • Dragon
    • Summary
    • Types
      • t/0
    • Functions
      • child_spec/1
      • configure/1
      • frame_head/0
      • frame_pop/0
      • frame_push/1
      • get/0
      • get/1
      • get!/0
      • get!/1
      • init/1
      • prepare_build/1
      • start_link/1
  • Dragon.Abort
    • Summary
    • Functions
      • abort/1
  • Dragon.Data
    • Summary
    • Functions
      • clean_data/1
      • data_path/2
      • get_into/2
      • load_data/1
      • load_data/2
  • Dragon.Data.Collection
    • Summary
    • Types
      • t/0
    • Functions
      • collection_key/1
      • file_details/1
      • load/2
  • Dragon.Data.File
    • Summary
    • Functions
      • get_file_data/1
      • load/2
      • load_data_file/3
  • Dragon.Data.Loader
    • Summary
    • Functions
      • load/2
  • Dragon.English
    • Summary
    • Functions
      • a_or_an/1
      • have_has/1
      • oxford_comma/2
      • plural/1
      • plural/2
  • Dragon.Plugin
    • Summary
    • Callbacks
      • run/5
    • Functions
      • posteval/5
      • posteval/6
  • Dragon.Plugin.Markdown
  • Dragon.Plugin.Redirects
    • Summary
    • Functions
      • redirect_body/1
  • Dragon.Scss.Evaluate
    • Summary
    • Functions
      • all/1
      • all/2
  • Dragon.Serve.Plug.Files
    • Summary
    • Functions
      • call/2
      • init/1
      • not_found/2
  • Dragon.Serve.Plug.RuntimeStatic
  • Dragon.Slayer
    • Summary
    • Functions
      • build/2
      • rebuild/2
  • Dragon.Template.Env
    • Summary
    • Functions
      • get_file_metadata/4
  • Dragon.Template.Evaluate
    • Summary
    • Functions
      • abort_nofile_error/4
      • all/1
      • all/2
      • commit_file/2
      • error_message/1
      • evaluate/4
      • evaluate_template/4
      • include_file/5
      • nofile_error/4
      • nofile_line/1
      • posteval/4
      • processing/2
      • validate/1
  • Dragon.Template.Functions
    • Summary
    • Functions
      • canonical_path/0
      • canonical_url/2
      • date/2
      • datefrom/2
      • eex/1
      • get_data/2
      • get_header/1
      • get_with_key/2
      • in_collection/1
      • include/2
      • is_url/1
      • jsonify/1
      • markdownify/1
      • path/1
  • Dragon.Template.Read
    • Summary
    • Functions
      • read_template_body/2
      • read_template_header/1
  • Dragon.Tools.Cmd
    • Summary
    • Functions
      • run/1
  • Dragon.Tools.Dict
    • Summary
    • Functions
      • put_into/3
  • Dragon.Tools.File
    • Summary
    • Functions
      • drop_root/3
      • export_fname/1
      • file_type/2
      • find_file/2
      • find_file_variant/2
      • find_index_file/2
      • get_true_path/1
      • makedirs_for_file/1
      • open_file/1
      • scan_file/3
      • seek!/2
      • try_variant/4
      • valid_part/2
      • with_open_file/2
      • write_file/2
  • Dragon.Tools.File.Synchronize
    • Summary
    • Functions
      • file_difference/2
      • synchronize/1
      • synchronize/2
      • synchronize_file/3
  • Dragon.Tools.File.WalkTree
    • Summary
    • Functions
      • walk_tree/3
      • walk_tree_/3
  • Dragon.Tools.File.WalkTree.NoMatch
    • Summary
    • Functions
      • no_match/3
  • Dragon.Tools.Image.Convert
    • Summary
    • Functions
      • convert/2
      • expand_sizes/4
      • expand_types/3
      • expand_variants/2
      • identify/1
      • image_magick_error/2
      • rename_file/2
      • resize/3
      • root_name/1
  • Dragon.Tools.Image.Walk
  • Exceptions
  • Dragon.AbortError
  • Dragon.Serve.Plug.RuntimeStatic.InvalidPathError

View Source Dragon.Data.File (dragon v1.2.3)

Tools for loading data files (yml)

Link to this section Summary

Functions

get_file_data(path)
load(dragon, args)
load_data_file(dragon, path, opts)

Link to this section Functions

Link to this function

get_file_data(path)

View Source
Link to this function

load(dragon, args)

View Source
Link to this function

load_data_file(dragon, path, opts)

View Source

Hex Package Hex Preview (current file) Download ePub version

Built using ExDoc (v0.29.4) for the Elixir programming language