Create a new empty record builder. # Example ```rust use atomic_core::record::RecordBuilder; let builder = RecordBuilder::new(); assert!(builder.is_empty()); ```
()
| 162 | /// assert!(builder.is_empty()); |
| 163 | /// ``` |
| 164 | pub fn new() -> Self { |
| 165 | Self { |
| 166 | actions: Vec::new(), |
| 167 | contents: Vec::new(), |
| 168 | updatables: HashMap::new(), |
| 169 | recorded_inodes: HashMap::new(), |
| 170 | largest_file: 0, |
| 171 | has_binary_files: false, |
| 172 | oldest_change: SystemTime::UNIX_EPOCH, |
| 173 | force_rediff: false, |
| 174 | ignore_missing: false, |
| 175 | } |
| 176 | } |
| 177 | |
| 178 | /// Create a builder with pre-allocated capacity. |
| 179 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected