Whether this handle shares redb's read lock instead of the write lock.
(&self)
| 234 | impl Pristine { |
| 235 | /// Whether this handle shares redb's read lock instead of the write lock. |
| 236 | pub fn is_read_only(&self) -> bool { |
| 237 | matches!(self.db, PristineDatabase::ReadOnly(_)) |
| 238 | } |
| 239 | } |
| 240 | |
| 241 | impl PristineDatabase { |
no outgoing calls
no test coverage detected