pub fn add_many<I>(&self, gitoids: I) -> Self
    where
        I: IntoIterator<Item = GitOid>,
    {
        let mut updated = self.git_oids.clone(); // im::HashSet has O(1) cloning
        for gitoid in gitoids {
            updated = updated.update(gitoid);
        }
        Self { git_oids: updated }
    }
/// Append many git oids and return a new `GitBom`
Append many git oids and return a new `GitBom`
Append many git oids and return a new ` GitBom `
pub fn add_many<I>(&self, gitoids: I) -> Self
    where
        I: IntoIterator<Item = GitOid>,
    {
        let mut updated = self.git_oids.clone(); // im::HashSet has O(1) cloning
        for gitoid in gitoids {
            updated = updated.update(gitoid);
        }
        Self { git_oids: updated }
    }
pub fn add_many < I > ( & self , gitoids : I ) -> Self where I : IntoIterator < Item = GitOid > , { let mut updated = self . git_oids . clone ( ) ; // im::HashSet has O(1) cloning for gitoid in gitoids { updated = updated . update ( gitoid ) ; } Self { git_oids : updated } }
Append many git oids and return a new `GitBom`
Append many git oids and return a new ` GitBom `
&self
gitoids
I
&self
gitoids
I