autoformat.app

Members

Aliases

ToolConf
alias ToolConf = Tuple!(Flag!"dryRun", "dryRun", Flag!"backup", "backup")
Undocumented in source.

Enums

FileMode
enum FileMode

The mode used to collect the files to process.

Mode
enum Mode

Active modes depending on the flags passed by the user.

PoolConf
enum PoolConf
Undocumented in source.
ToolMode
enum ToolMode

The procedure to use to process files.

Functions

appendUnique
auto appendUnique(T r, string msg, string[] remove)

Append the string to the range if it doesn't exist.

fileMode
int fileMode(Config conf)
Undocumented in source. Be warned that the author may not have intended to support it.
filesFromStdin
AbsolutePath[] filesFromStdin()
Undocumented in source. Be warned that the author may not have intended to support it.
formatFile
FormatterResult formatFile(AbsolutePath p, Flag!"backup" backup, Flag!"dryRun" dry_run)
Undocumented in source. Be warned that the author may not have intended to support it.
formatMode
int formatMode(Config conf, AbsolutePath[] files)
Undocumented in source. Be warned that the author may not have intended to support it.
installGitHook
int installGitHook(AbsolutePath install_to, string autoformat_bin)
main
int main(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
makeExecutable
void makeExecutable(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
oneFileRespectKind
FormatterResult oneFileRespectKind(OneFileConf f)
Undocumented in source. Be warned that the author may not have intended to support it.
parallelRun
FormatterResult parallelRun(AbsolutePath[] files_, PoolConf poolc, ToolConf conf)
Undocumented in source. Be warned that the author may not have intended to support it.
parseArgs
void parseArgs(string[] args, Config conf, GetoptResult help_info)
Undocumented in source. Be warned that the author may not have intended to support it.
printHelp
void printHelp(string arg0, GetoptResult help_info)
Undocumented in source. Be warned that the author may not have intended to support it.
recursiveFileList
Nullable!(AbsolutePath[]) recursiveFileList(AbsolutePath path)
Undocumented in source. Be warned that the author may not have intended to support it.
setup
int setup(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Config
struct Config
Undocumented in source.
OneFileConf
struct OneFileConf
Undocumented in source.

Variables

gitConfigKey
auto gitConfigKey;
Undocumented in source.
hookPreCommit
auto hookPreCommit;
Undocumented in source.
hookPrepareCommitMsg
auto hookPrepareCommitMsg;
Undocumented in source.

Meta

Authors

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