Modules
errorThe error type of the detectors.frameworkFrameworks: `Framework`, the built-in frameworks, and the `FrameworkDetector` that scores them on file names and manifest dependencies.packagerPackage managers: `Packager`, the built-in `Npm`, `Pnpm` and `Yarn`, and the `PackagerDetector` that finds one from file names.renderingRendering: `Rendering`, server-side (`Ssr`) and static (`Static`) output, and the `RenderingDetector` that tells them apart from a build's files.runtimeRuntimes: `Runtime`, the eleven built-in runtimes, the `Strategy` that decides what the inputs are, and the `RuntimeDetector`.
Contents
use utopia_detector::Detected;Rust
pub struct Detected<'a, T: ?Sized>A runtime or framework a detector chose, with the detector's packager:
its commands are the ones for that packager. Everything else is the
option itself, through Deref.
Also implements
Deref, Clone, Debug.