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