autoformat.types

Members

Aliases

FormatterResult
alias FormatterResult = SumType!(FormatError, FailedWithUserMsg, Unchanged, FormattedOk, WouldChange)
Undocumented in source.

Structs

AbsolutePath (from my.path)
struct AbsolutePath via public import my.path : Path, AbsolutePath;

The path is guaranteed to be the absolute, normalized and tilde expanded path.

FailedWithUserMsg
struct FailedWithUserMsg

error when formatting with an error msg

FormatError
struct FormatError

failed to format or some other kind of error

FormattedOk
struct FormattedOk

formatted file with no errors

Path (from my.path)
struct Path via public import my.path : Path, AbsolutePath;

Types a string as a Path to provide path related operations.

Unchanged
struct Unchanged
Undocumented in source.
WouldChange
struct WouldChange

The file would change if it where autoformatted

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)