pub struct Found {}Expand description
What init saw at the project root.
Fields§
§cargo: boolCargo.toml exists.
nextest: boolcargo nextest is installed.
npm_scripts: Vec<String>package.json’s scripts, by name.
node_manager: Option<String>npm, pnpm, yarn or bun, from the lockfile; None without package.json.
python: boolpyproject.toml, setup.cfg, setup.py or pytest.ini exists.
python_run: Vec<String>How checks start the project’s Python: uv run --locked --offline python for a uv project (uv makes the environment in whichever tree
the check runs in — a run’s worktree has no .venv/, which is never
committed), else a project-local virtualenv’s interpreter, else
python3.
pytest: boolpytest runs with that interpreter (or python3).
ruff: bool[tool.ruff] (or ruff.toml) is configured.
mypy: bool[tool.mypy] (or mypy.ini) is configured.
go: boolgo.mod exists.
make_test: boolA Makefile with a test: target exists.
include: Vec<String>The checkout’s git-ignored .env files: proposed for [worktree] include.
worktreeinclude: boolA .worktreeinclude exists: runs read it already.
Implementations§
Trait Implementations§
impl Eq for Found
impl StructuralPartialEq for Found
Auto Trait Implementations§
impl Freeze for Found
impl RefUnwindSafe for Found
impl Send for Found
impl Sync for Found
impl Unpin for Found
impl UnsafeUnpin for Found
impl UnwindSafe for Found
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more