moonfire-nvr/db
Scott Lamb 0b0f4ec9ed NLL-inspired simplifications to db.rs
* remove intermediate bool from adjust_day.

* rewrite LockedDatabase::list_aggregate_recordings.
  I started by collapsing the flush into the first part of the if, in a
  similar way to adjust_day. But then I refactored more and ended up
  with a structure that probably would have been allowed with the old
  lexical borrow checker. I think it's more readable, and it does 1
  btree operation per row where before it did 2 or 3.
2018-12-28 15:10:12 -06:00
..
testdata initial split of database to a separate crate 2018-02-20 23:15:39 -08:00
upgrade upgrade to 2018 Rust edition 2018-12-28 14:59:06 -06:00
auth.rs upgrade to 2018 Rust edition 2018-12-28 14:59:06 -06:00
Cargo.toml upgrade to 2018 Rust edition 2018-12-28 14:59:06 -06:00
check.rs upgrade to 2018 Rust edition 2018-12-28 14:59:06 -06:00
coding.rs initial split of database to a separate crate 2018-02-20 23:15:39 -08:00
db.rs NLL-inspired simplifications to db.rs 2018-12-28 15:10:12 -06:00
dir.rs upgrade to 2018 Rust edition 2018-12-28 14:59:06 -06:00
lib.rs upgrade to 2018 Rust edition 2018-12-28 14:59:06 -06:00
raw.rs upgrade to 2018 Rust edition 2018-12-28 14:59:06 -06:00
recording.rs upgrade to 2018 Rust edition 2018-12-28 14:59:06 -06:00
schema.proto update design docs for new-schema branch changes 2018-03-24 20:51:30 -07:00
schema.rs upgrade a few deps 2018-08-24 22:06:14 -07:00
schema.sql preliminary web support for auth (#26) 2018-11-27 11:08:33 -08:00
testutil.rs upgrade to 2018 Rust edition 2018-12-28 14:59:06 -06:00
writer.rs upgrade to 2018 Rust edition 2018-12-28 14:59:06 -06:00