View Source AntikytheraCore.GearLog.FileHandle (antikythera v0.5.1)

Summary

Types

@opaque t()

Functions

@spec close(t()) :: :ok
Link to this function

open(file_path, opts \\ [])

View Source
@spec open(Path.t(), Keyword.t()) :: t()
Link to this function

restore_write_to_terminal(handle)

View Source
@spec restore_write_to_terminal(t()) :: t()
@spec rotate(t()) :: t()
Link to this function

set_write_to_terminal(handle, new_val)

View Source
@spec set_write_to_terminal(
  t(),
  boolean()
) :: t()
@spec write(
  t(),
  AntikytheraCore.GearLog.Message.t()
) :: {:kept_open | :rotated, t()}