MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / add

Method add

atomic-repository/src/repository/tests/mod.rs:126–132  ·  view source on GitHub ↗
(
        &self,
        path: P,
        options: TrackingOptions,
    )

Source from the content-addressed store, hash-verified

124 }
125
126 pub fn add<P: AsRef<Path>>(
127 &self,
128 path: P,
129 options: TrackingOptions,
130 ) -> Result<TrackingStats, RepositoryError> {
131 self.repo.add(self.working_copy, path, options)
132 }
133
134 pub fn add_batch(&self, paths: &[&str]) -> Result<usize, RepositoryError> {
135 self.repo.add_batch(self.working_copy, paths)

Calls

no outgoing calls

Tested by

no test coverage detected