pub struct DartParser;Expand description
Parses Dart/Flutter dependencies from pubspec.yaml
Implementations§
Source§impl DartParser
impl DartParser
Sourcepub fn parse(&self, root: &Path) -> Result<Vec<Dependency>, ResearchError>
pub fn parse(&self, root: &Path) -> Result<Vec<Dependency>, ResearchError>
Parses dependencies from pubspec.yaml
Sourcepub fn has_manifest(&self, root: &Path) -> bool
pub fn has_manifest(&self, root: &Path) -> bool
Checks if pubspec.yaml exists
Trait Implementations§
Source§impl Debug for DartParser
impl Debug for DartParser
Auto Trait Implementations§
impl Freeze for DartParser
impl RefUnwindSafe for DartParser
impl Send for DartParser
impl Sync for DartParser
impl Unpin for DartParser
impl UnwindSafe for DartParser
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