igc v0.3.0 Igc

Documentation for Igc.

Summary

Functions

parse(str)

Parses an IGC string.

It returns:

  • {:ok, track} upon success
  • {:error, {:invalid, reason}} when the IGC file is invalid, where reason is a human readable string explaining why the IGC is invalid
  • {:error, {:io, reason}} when a call to IO.read/2 or File.open/3 fails
parse!(igc)
parse_file(path)
parse_file!(path)