LowEndInsight v0.4.2 ProjectIdent View Source
Link to this section Summary
Functions
is_cargo?/1: takes in a Repository struct and returns true if there is presence of a Cargo.toml file.
is_go_mod?/1: takes in a Repository struct and returns true if there is presence of a go.mod file.
is_gradle?/1: takes in a Repository struct and returns true if there is presence of a build.gradle file.
is_maven?/1: takes in a Repository struct and returns true if there is presence of a pom.xml
is_mix?/1: takes in a Repository struct and returns true if the repo has a mix.exs file. NOTE: mix will install dependencies into deps/ so we're gonna ignore those, and only recognize the mix.exs/mix.lock at the root directory
is_node?/1: takes in a Repository struct and returns true if there is presence of a package.json file.
is_python?/1: takes in a Repository struct and returns true if there is the presence of a setup.py or *requirements.txt file.
is_rubygem?/1: takes in a Repository struct and returns true if there is presence of a Gemfile file.
project_types?/1: takes in a Repository and will return a list of found project types within the repo.
Link to this section Functions
is_cargo?/1: takes in a Repository struct and returns true if there is presence of a Cargo.toml file.
is_go_mod?/1: takes in a Repository struct and returns true if there is presence of a go.mod file.
is_gradle?/1: takes in a Repository struct and returns true if there is presence of a build.gradle file.
is_maven?/1: takes in a Repository struct and returns true if there is presence of a pom.xml
is_mix?/1: takes in a Repository struct and returns true if the repo has a mix.exs file. NOTE: mix will install dependencies into deps/ so we're gonna ignore those, and only recognize the mix.exs/mix.lock at the root directory
is_node?/1: takes in a Repository struct and returns true if there is presence of a package.json file.
NOTE: this could be a yarn or npm project.
is_python?/1: takes in a Repository struct and returns true if there is the presence of a setup.py or *requirements.txt file.
NOTE: this could be either a pip or conda project.
is_rubygem?/1: takes in a Repository struct and returns true if there is presence of a Gemfile file.
project_types?/1: takes in a Repository and will return a list of found project types within the repo.