ExCompileGraph.Manifest (ex_compile_graph v0.1.0)

Module contains utilities to quickly query the manifest file

Link to this section Summary

Link to this section Functions

Link to this function

all_modules(table_ref)

Link to this function

all_source_files(table_ref)

Link to this function

build_lookup_table(manifest)

@spec build_lookup_table(ExCompileGraph.file_path()) :: :ets.tid()
Link to this function

delete_lookup_table(table_ref)

Link to this function

lookup_module(table_ref, module)

@spec lookup_module(:ets.tid(), atom()) ::
  {:ok, ExCompileGraph.Module.t()} | {:error, atom()}
Link to this function

lookup_module!(table_ref, module)

@spec lookup_module!(:ets.tid(), atom()) :: ExCompileGraph.Module.t()
Link to this function

lookup_source_file!(table_ref, path)

@spec lookup_source_file!(:ets.tid(), binary()) :: ExCompileGraph.SourceFile.t()