Lowendinsight.Files (LowEndInsight v0.9.0)

Copy Markdown View Source

Summary

Functions

analyze_files(path)

@spec analyze_files(binary()) :: %{
  binary_files: list(),
  binary_files_count: non_neg_integer(),
  has_contributing: boolean(),
  has_license: boolean(),
  has_readme: boolean(),
  total_file_count: non_neg_integer()
}

find_binary_files(path)

@spec find_binary_files(
  binary()
  | maybe_improper_list(
      binary() | maybe_improper_list(any(), binary() | []) | char(),
      binary() | []
    )
) :: %{binary_files: list(), binary_files_count: non_neg_integer()}

get_total_file_count(path)

@spec get_total_file_count(binary()) :: %{total_file_count: non_neg_integer()}

has_contributing?(path)

@spec has_contributing?(binary()) :: %{has_contributing: boolean()}

has_license?(path)

@spec has_license?(binary()) :: %{has_license: boolean()}

has_readme?(path)

@spec has_readme?(binary()) :: %{has_readme: boolean()}