pub enum ProjectType {
Show 23 variants
Rust,
Node,
Python,
DotNet,
Unity,
Unreal,
Maven,
Gradle,
CMake,
HaskellStack,
ScalaSBT,
Composer,
Dart,
Elixir,
Swift,
Zig,
Godot,
Jupyter,
Go,
Ruby,
Terraform,
Docker,
Bazel,
}Expand description
Represents different types of development projects we can detect
Variants§
Rust
Rust projects (Cargo.toml)
Node
Node.js/JavaScript projects (package.json)
Python
Python projects (.py files with common artifacts)
DotNet
.NET projects (.csproj, .fsproj)
Unity
Unity game engine projects
Unreal
Unreal Engine projects (.uproject)
Maven
Java Maven projects (pom.xml)
Gradle
Java/Kotlin Gradle projects (build.gradle)
CMake
CMake projects (CMakeLists.txt)
HaskellStack
Haskell Stack projects (stack.yaml)
ScalaSBT
Scala SBT projects (build.sbt)
Composer
PHP Composer projects (composer.json)
Dart
Dart/Flutter projects (pubspec.yaml)
Elixir
Elixir projects (mix.exs)
Swift
Swift projects (Package.swift)
Zig
Zig projects (build.zig)
Godot
Godot 4.x projects (project.godot)
Jupyter
Jupyter notebooks (.ipynb)
Go
Go projects (go.mod)
Ruby
Ruby projects (Gemfile)
Terraform
Terraform projects (*.tf files)
Docker
Docker projects (Dockerfile)
Bazel
Bazel projects (WORKSPACE, BUILD)
Implementations§
Source§impl ProjectType
impl ProjectType
Sourcepub fn artifact_directories(&self) -> &[&str]
pub fn artifact_directories(&self) -> &[&str]
Returns the directories that contain build artifacts for this project type
Sourcepub fn detect_from_directory(path: &Path) -> Option<Self>
pub fn detect_from_directory(path: &Path) -> Option<Self>
Detects project type from a directory by checking for marker files
Trait Implementations§
Source§impl Clone for ProjectType
impl Clone for ProjectType
Source§fn clone(&self) -> ProjectType
fn clone(&self) -> ProjectType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more