View Source Audit.Github (Audit v0.1.7)

Helper functions for generating Github URLs from filename and line number

Link to this section Summary

Link to this section Types

@type filename_t() :: binary()
@type git_t() :: binary() | nil
@type line_number_t() :: binary() | non_neg_integer()

Link to this section Functions

@spec branch() :: git_t()
@spec commit_hash() :: git_t()
Link to this function

format_string(base, branch, filename, line)

View Source
@spec format_string(git_t(), git_t(), filename_t(), line_number_t()) :: git_t()
@spec get_url(git_t()) :: git_t()
@spec git([binary()]) :: git_t()
@spec git_root() :: git_t()
@spec git_url(filename_t(), line_number_t()) :: git_t() | nil
@spec remote(git_t()) :: git_t()
@spec to_https(git_t()) :: git_t()