moonfire-nvr/db
Scott Lamb e52e725958 s/std::fs::read_dir/nix::dir::Dir/ in a few spots
This is nicer in a few ways:

   * I can use openat so there's no possibility of any kind of a race
     involving scanning a different directory than the one used in
     other ways (locking, metadata file, adding/removing sample files)
   * filename() doesn't need to allocate memory, so it's a bit more
     efficient
   * dogfooding - I wrote nix::dir.
2019-07-12 11:07:14 -07:00
..
proto Use fixed-size directory meta files 2019-07-04 23:30:37 -05:00
testdata initial split of database to a separate crate 2018-02-20 23:15:39 -08:00
upgrade s/std::fs::read_dir/nix::dir::Dir/ in a few spots 2019-07-12 11:07:14 -07:00
auth.rs fix db auth tests for domain being optional 2019-06-20 12:06:57 -07:00
build.rs add missing build.rs 2019-06-19 16:53:14 -07:00
Cargo.toml use nix to remove many uses of unsafe 2019-07-11 21:59:01 -07:00
check.rs s/std::fs::read_dir/nix::dir::Dir/ in a few spots 2019-07-12 11:07:14 -07:00
coding.rs initial split of database to a separate crate 2018-02-20 23:15:39 -08:00
compare.rs fix d7a918d regression in SQLite required version 2019-07-11 14:00:09 -07:00
db.rs s/std::fs::read_dir/nix::dir::Dir/ in a few spots 2019-07-12 11:07:14 -07:00
dir.rs s/std::fs::read_dir/nix::dir::Dir/ in a few spots 2019-07-12 11:07:14 -07:00
fs.rs s/std::fs::read_dir/nix::dir::Dir/ in a few spots 2019-07-12 11:07:14 -07:00
lib.rs s/std::fs::read_dir/nix::dir::Dir/ in a few spots 2019-07-12 11:07:14 -07:00
raw.rs cargo fix --all 2019-06-14 08:47:11 -07:00
recording.rs db crate support for updating signals (#28) 2019-06-13 22:25:55 -07:00
schema.sql Use fixed-size directory meta files 2019-07-04 23:30:37 -05:00
signal.rs fix dumb typo bug in signal/state input validation 2019-06-14 16:41:18 -07:00
testutil.rs store full rtsp urls 2019-06-30 23:54:52 -05:00
writer.rs s/std::fs::read_dir/nix::dir::Dir/ in a few spots 2019-07-12 11:07:14 -07:00