diff rust/hg-core/src/dirstate/entry.rs @ 48157:b45c4dc65adc

dirstate-item: drop the legacy new_added constructor Nobody is calling it anymore. Its purposes has been filled. Differential Revision: https://phab.mercurial-scm.org/D11601
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 01 Oct 2021 09:16:53 +0200
parents d342815ff827
children da304f78a0e1
line wrap: on
line diff
--- a/rust/hg-core/src/dirstate/entry.rs	Fri Oct 01 09:15:03 2021 +0200
+++ b/rust/hg-core/src/dirstate/entry.rs	Fri Oct 01 09:16:53 2021 +0200
@@ -125,14 +125,6 @@
         }
     }
 
-    pub fn new_added() -> Self {
-        Self {
-            flags: Flags::WDIR_TRACKED,
-            mode_size: None,
-            mtime: None,
-        }
-    }
-
     pub fn new_normal(mode: i32, size: i32, mtime: i32) -> Self {
         Self {
             flags: Flags::WDIR_TRACKED | Flags::P1_TRACKED,