pub struct DotNetPlugin;Expand description
Plugin for .NET projects
Trait Implementationsยง
Sourceยงimpl Plugin for DotNetPlugin
impl Plugin for DotNetPlugin
Sourceยงfn supported_kinds(&self) -> &[ProjectKind]
fn supported_kinds(&self) -> &[ProjectKind]
Project kinds this plugin handles
Sourceยงfn markers(&self) -> Vec<ProjectMarker>
fn markers(&self) -> Vec<ProjectMarker>
Markers that identify projects this plugin handles
Sourceยงfn detect(&self, path: &Path) -> Option<ProjectKind>
fn detect(&self, path: &Path) -> Option<ProjectKind>
Detect if path is a project root for this plugin
Sourceยงfn find_artifacts(&self, project_root: &Path) -> Result<Vec<Artifact>>
fn find_artifacts(&self, project_root: &Path) -> Result<Vec<Artifact>>
Find cleanable artifacts in a project directory
Sourceยงfn cleanable_dirs(&self) -> &[&'static str]
fn cleanable_dirs(&self) -> &[&'static str]
Get cleanable directory names for fast scanning
Sourceยงfn calculate_size(&self, artifact: &Artifact) -> Result<u64>
fn calculate_size(&self, artifact: &Artifact) -> Result<u64>
Custom size calculation (override for special cases)
Auto Trait Implementationsยง
impl Freeze for DotNetPlugin
impl RefUnwindSafe for DotNetPlugin
impl Send for DotNetPlugin
impl Sync for DotNetPlugin
impl Unpin for DotNetPlugin
impl UnwindSafe for DotNetPlugin
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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