##// END OF EJS Templates
rust-cpython: remove unused API to `drop_entry_and_copy_source`...
Raphaël Gomès -
r50013:861dd252 default
parent child Browse files
Show More
@@ -205,17 +205,6 b' py_class!(pub class DirstateMap |py| {'
205 Ok(PyNone)
205 Ok(PyNone)
206 }
206 }
207
207
208 def drop_item_and_copy_source(
209 &self,
210 f: PyBytes,
211 ) -> PyResult<PyNone> {
212 self.inner(py)
213 .borrow_mut()
214 .drop_entry_and_copy_source(HgPath::new(f.data(py)))
215 .map_err(|e |dirstate_error(py, e))?;
216 Ok(PyNone)
217 }
218
219 def hastrackeddir(&self, d: PyObject) -> PyResult<PyBool> {
208 def hastrackeddir(&self, d: PyObject) -> PyResult<PyBool> {
220 let d = d.extract::<PyBytes>(py)?;
209 let d = d.extract::<PyBytes>(py)?;
221 Ok(self.inner(py).borrow_mut()
210 Ok(self.inner(py).borrow_mut()
General Comments 0
You need to be logged in to leave comments. Login now