mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-01-13 07:53:22 -05:00
upgrade a few deps
This commit is contained in:
parent
5bba71345c
commit
8c52c36b51
1228
Cargo.lock
generated
1228
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
10
Cargo.toml
10
Cargo.toml
@ -19,13 +19,13 @@ members = ["base", "db", "ffmpeg"]
|
||||
[dependencies]
|
||||
bytes = "0.4.6"
|
||||
byteorder = "1.0"
|
||||
docopt = "0.8"
|
||||
docopt = "1.0"
|
||||
failure = "0.1.1"
|
||||
futures = "0.1"
|
||||
futures-cpupool = "0.1"
|
||||
fnv = "1.0"
|
||||
http = "0.1.5"
|
||||
http-serve = { git = "https://github.com/scottlamb/http-serve" }
|
||||
http-serve = { git = "https://github.com/scottlamb/http-serve", rev = "b361ee" }
|
||||
hyper = "0.11.25"
|
||||
lazy_static = "1.0"
|
||||
libc = "0.2"
|
||||
@ -37,10 +37,10 @@ moonfire-db = { path = "db" }
|
||||
moonfire-ffmpeg = { path = "ffmpeg" }
|
||||
mylog = { git = "https://github.com/scottlamb/mylog" }
|
||||
openssl = "0.10"
|
||||
parking_lot = { version = "0.5", features = [] }
|
||||
parking_lot = { version = "0.6", features = [] }
|
||||
reffers = { git = "https://github.com/diwic/reffers-rs" }
|
||||
regex = "0.2"
|
||||
rusqlite = "0.13"
|
||||
regex = "1.0"
|
||||
rusqlite = "0.14"
|
||||
serde = "1.0"
|
||||
serde_derive = "1.0"
|
||||
serde_json = "1.0"
|
||||
|
@ -14,5 +14,5 @@ path = "lib.rs"
|
||||
failure = "0.1.1"
|
||||
libc = "0.2"
|
||||
log = "0.4"
|
||||
parking_lot = { version = "0.5", features = [] }
|
||||
parking_lot = { version = "0.6", features = [] }
|
||||
time = "0.1"
|
||||
|
@ -20,10 +20,10 @@ lru-cache = "0.1"
|
||||
moonfire-base = { path = "../base" }
|
||||
mylog = { git = "https://github.com/scottlamb/mylog" }
|
||||
openssl = "0.10"
|
||||
parking_lot = { version = "0.5", features = [] }
|
||||
protobuf = "1.4"
|
||||
regex = "0.2"
|
||||
rusqlite = "0.13"
|
||||
parking_lot = { version = "0.6", features = [] }
|
||||
protobuf = "2.0"
|
||||
regex = "1.0"
|
||||
rusqlite = "0.14"
|
||||
tempdir = "0.3"
|
||||
time = "0.1"
|
||||
uuid = { version = "0.6", features = ["std", "v4"] }
|
||||
|
2
db/db.rs
2
db/db.rs
@ -1502,7 +1502,7 @@ impl LockedDatabase {
|
||||
}
|
||||
let mut meta = d.get().meta(&self.uuid);
|
||||
meta.in_progress_open = mem::replace(&mut meta.last_complete_open,
|
||||
::protobuf::singular::SingularPtrField::none());
|
||||
::protobuf::SingularPtrField::none());
|
||||
dir.write_meta(&meta)?;
|
||||
if self.conn.execute("delete from sample_file_dir where id = ?", &[&dir_id])? != 1 {
|
||||
bail!("missing database row for dir {}", dir_id);
|
||||
|
@ -231,7 +231,7 @@ pub(crate) fn insert_recording(tx: &rusqlite::Transaction, o: &db::Open, id: Com
|
||||
/// Returns the number of recordings which were deleted.
|
||||
pub(crate) fn delete_recordings(tx: &rusqlite::Transaction, sample_file_dir_id: i32,
|
||||
ids: Range<CompositeId>)
|
||||
-> Result<i32, Error> {
|
||||
-> Result<usize, Error> {
|
||||
let mut insert = tx.prepare_cached(r#"
|
||||
insert into garbage (sample_file_dir_id, composite_id)
|
||||
select
|
||||
|
230
db/schema.rs
230
db/schema.rs
@ -1,4 +1,4 @@
|
||||
// This file is generated. Do not edit
|
||||
// This file is generated by rust-protobuf 2.0.4. Do not edit
|
||||
// @generated
|
||||
|
||||
// https://github.com/Manishearth/rust-clippy/issues/702
|
||||
@ -33,24 +33,11 @@ pub struct DirMeta {
|
||||
cached_size: ::protobuf::CachedSize,
|
||||
}
|
||||
|
||||
// see codegen.rs for the explanation why impl Sync explicitly
|
||||
unsafe impl ::std::marker::Sync for DirMeta {}
|
||||
|
||||
impl DirMeta {
|
||||
pub fn new() -> DirMeta {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
pub fn default_instance() -> &'static DirMeta {
|
||||
static mut instance: ::protobuf::lazy::Lazy<DirMeta> = ::protobuf::lazy::Lazy {
|
||||
lock: ::protobuf::lazy::ONCE_INIT,
|
||||
ptr: 0 as *const DirMeta,
|
||||
};
|
||||
unsafe {
|
||||
instance.get(DirMeta::new)
|
||||
}
|
||||
}
|
||||
|
||||
// bytes db_uuid = 1;
|
||||
|
||||
pub fn clear_db_uuid(&mut self) {
|
||||
@ -77,14 +64,6 @@ impl DirMeta {
|
||||
&self.db_uuid
|
||||
}
|
||||
|
||||
fn get_db_uuid_for_reflect(&self) -> &::std::vec::Vec<u8> {
|
||||
&self.db_uuid
|
||||
}
|
||||
|
||||
fn mut_db_uuid_for_reflect(&mut self) -> &mut ::std::vec::Vec<u8> {
|
||||
&mut self.db_uuid
|
||||
}
|
||||
|
||||
// bytes dir_uuid = 2;
|
||||
|
||||
pub fn clear_dir_uuid(&mut self) {
|
||||
@ -111,14 +90,6 @@ impl DirMeta {
|
||||
&self.dir_uuid
|
||||
}
|
||||
|
||||
fn get_dir_uuid_for_reflect(&self) -> &::std::vec::Vec<u8> {
|
||||
&self.dir_uuid
|
||||
}
|
||||
|
||||
fn mut_dir_uuid_for_reflect(&mut self) -> &mut ::std::vec::Vec<u8> {
|
||||
&mut self.dir_uuid
|
||||
}
|
||||
|
||||
// .DirMeta.Open last_complete_open = 3;
|
||||
|
||||
pub fn clear_last_complete_open(&mut self) {
|
||||
@ -152,14 +123,6 @@ impl DirMeta {
|
||||
self.last_complete_open.as_ref().unwrap_or_else(|| DirMeta_Open::default_instance())
|
||||
}
|
||||
|
||||
fn get_last_complete_open_for_reflect(&self) -> &::protobuf::SingularPtrField<DirMeta_Open> {
|
||||
&self.last_complete_open
|
||||
}
|
||||
|
||||
fn mut_last_complete_open_for_reflect(&mut self) -> &mut ::protobuf::SingularPtrField<DirMeta_Open> {
|
||||
&mut self.last_complete_open
|
||||
}
|
||||
|
||||
// .DirMeta.Open in_progress_open = 4;
|
||||
|
||||
pub fn clear_in_progress_open(&mut self) {
|
||||
@ -192,14 +155,6 @@ impl DirMeta {
|
||||
pub fn get_in_progress_open(&self) -> &DirMeta_Open {
|
||||
self.in_progress_open.as_ref().unwrap_or_else(|| DirMeta_Open::default_instance())
|
||||
}
|
||||
|
||||
fn get_in_progress_open_for_reflect(&self) -> &::protobuf::SingularPtrField<DirMeta_Open> {
|
||||
&self.in_progress_open
|
||||
}
|
||||
|
||||
fn mut_in_progress_open_for_reflect(&mut self) -> &mut ::protobuf::SingularPtrField<DirMeta_Open> {
|
||||
&mut self.in_progress_open
|
||||
}
|
||||
}
|
||||
|
||||
impl ::protobuf::Message for DirMeta {
|
||||
@ -308,16 +263,14 @@ impl ::protobuf::Message for DirMeta {
|
||||
}
|
||||
|
||||
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
|
||||
::protobuf::MessageStatic::descriptor_static(None::<Self>)
|
||||
Self::descriptor_static()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::protobuf::MessageStatic for DirMeta {
|
||||
fn new() -> DirMeta {
|
||||
DirMeta::new()
|
||||
}
|
||||
|
||||
fn descriptor_static(_: ::std::option::Option<DirMeta>) -> &'static ::protobuf::reflect::MessageDescriptor {
|
||||
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
|
||||
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
|
||||
lock: ::protobuf::lazy::ONCE_INIT,
|
||||
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
|
||||
@ -327,23 +280,23 @@ impl ::protobuf::MessageStatic for DirMeta {
|
||||
let mut fields = ::std::vec::Vec::new();
|
||||
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
|
||||
"db_uuid",
|
||||
DirMeta::get_db_uuid_for_reflect,
|
||||
DirMeta::mut_db_uuid_for_reflect,
|
||||
|m: &DirMeta| { &m.db_uuid },
|
||||
|m: &mut DirMeta| { &mut m.db_uuid },
|
||||
));
|
||||
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
|
||||
"dir_uuid",
|
||||
DirMeta::get_dir_uuid_for_reflect,
|
||||
DirMeta::mut_dir_uuid_for_reflect,
|
||||
|m: &DirMeta| { &m.dir_uuid },
|
||||
|m: &mut DirMeta| { &mut m.dir_uuid },
|
||||
));
|
||||
fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<DirMeta_Open>>(
|
||||
"last_complete_open",
|
||||
DirMeta::get_last_complete_open_for_reflect,
|
||||
DirMeta::mut_last_complete_open_for_reflect,
|
||||
|m: &DirMeta| { &m.last_complete_open },
|
||||
|m: &mut DirMeta| { &mut m.last_complete_open },
|
||||
));
|
||||
fields.push(::protobuf::reflect::accessor::make_singular_ptr_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<DirMeta_Open>>(
|
||||
"in_progress_open",
|
||||
DirMeta::get_in_progress_open_for_reflect,
|
||||
DirMeta::mut_in_progress_open_for_reflect,
|
||||
|m: &DirMeta| { &m.in_progress_open },
|
||||
|m: &mut DirMeta| { &mut m.in_progress_open },
|
||||
));
|
||||
::protobuf::reflect::MessageDescriptor::new::<DirMeta>(
|
||||
"DirMeta",
|
||||
@ -353,6 +306,16 @@ impl ::protobuf::MessageStatic for DirMeta {
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static DirMeta {
|
||||
static mut instance: ::protobuf::lazy::Lazy<DirMeta> = ::protobuf::lazy::Lazy {
|
||||
lock: ::protobuf::lazy::ONCE_INIT,
|
||||
ptr: 0 as *const DirMeta,
|
||||
};
|
||||
unsafe {
|
||||
instance.get(DirMeta::new)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl ::protobuf::Clear for DirMeta {
|
||||
@ -387,24 +350,11 @@ pub struct DirMeta_Open {
|
||||
cached_size: ::protobuf::CachedSize,
|
||||
}
|
||||
|
||||
// see codegen.rs for the explanation why impl Sync explicitly
|
||||
unsafe impl ::std::marker::Sync for DirMeta_Open {}
|
||||
|
||||
impl DirMeta_Open {
|
||||
pub fn new() -> DirMeta_Open {
|
||||
::std::default::Default::default()
|
||||
}
|
||||
|
||||
pub fn default_instance() -> &'static DirMeta_Open {
|
||||
static mut instance: ::protobuf::lazy::Lazy<DirMeta_Open> = ::protobuf::lazy::Lazy {
|
||||
lock: ::protobuf::lazy::ONCE_INIT,
|
||||
ptr: 0 as *const DirMeta_Open,
|
||||
};
|
||||
unsafe {
|
||||
instance.get(DirMeta_Open::new)
|
||||
}
|
||||
}
|
||||
|
||||
// uint32 id = 1;
|
||||
|
||||
pub fn clear_id(&mut self) {
|
||||
@ -420,14 +370,6 @@ impl DirMeta_Open {
|
||||
self.id
|
||||
}
|
||||
|
||||
fn get_id_for_reflect(&self) -> &u32 {
|
||||
&self.id
|
||||
}
|
||||
|
||||
fn mut_id_for_reflect(&mut self) -> &mut u32 {
|
||||
&mut self.id
|
||||
}
|
||||
|
||||
// bytes uuid = 2;
|
||||
|
||||
pub fn clear_uuid(&mut self) {
|
||||
@ -453,14 +395,6 @@ impl DirMeta_Open {
|
||||
pub fn get_uuid(&self) -> &[u8] {
|
||||
&self.uuid
|
||||
}
|
||||
|
||||
fn get_uuid_for_reflect(&self) -> &::std::vec::Vec<u8> {
|
||||
&self.uuid
|
||||
}
|
||||
|
||||
fn mut_uuid_for_reflect(&mut self) -> &mut ::std::vec::Vec<u8> {
|
||||
&mut self.uuid
|
||||
}
|
||||
}
|
||||
|
||||
impl ::protobuf::Message for DirMeta_Open {
|
||||
@ -539,16 +473,14 @@ impl ::protobuf::Message for DirMeta_Open {
|
||||
}
|
||||
|
||||
fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
|
||||
::protobuf::MessageStatic::descriptor_static(None::<Self>)
|
||||
Self::descriptor_static()
|
||||
}
|
||||
}
|
||||
|
||||
impl ::protobuf::MessageStatic for DirMeta_Open {
|
||||
fn new() -> DirMeta_Open {
|
||||
DirMeta_Open::new()
|
||||
}
|
||||
|
||||
fn descriptor_static(_: ::std::option::Option<DirMeta_Open>) -> &'static ::protobuf::reflect::MessageDescriptor {
|
||||
fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
|
||||
static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
|
||||
lock: ::protobuf::lazy::ONCE_INIT,
|
||||
ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
|
||||
@ -558,13 +490,13 @@ impl ::protobuf::MessageStatic for DirMeta_Open {
|
||||
let mut fields = ::std::vec::Vec::new();
|
||||
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeUint32>(
|
||||
"id",
|
||||
DirMeta_Open::get_id_for_reflect,
|
||||
DirMeta_Open::mut_id_for_reflect,
|
||||
|m: &DirMeta_Open| { &m.id },
|
||||
|m: &mut DirMeta_Open| { &mut m.id },
|
||||
));
|
||||
fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
|
||||
"uuid",
|
||||
DirMeta_Open::get_uuid_for_reflect,
|
||||
DirMeta_Open::mut_uuid_for_reflect,
|
||||
|m: &DirMeta_Open| { &m.uuid },
|
||||
|m: &mut DirMeta_Open| { &mut m.uuid },
|
||||
));
|
||||
::protobuf::reflect::MessageDescriptor::new::<DirMeta_Open>(
|
||||
"DirMeta_Open",
|
||||
@ -574,6 +506,16 @@ impl ::protobuf::MessageStatic for DirMeta_Open {
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
fn default_instance() -> &'static DirMeta_Open {
|
||||
static mut instance: ::protobuf::lazy::Lazy<DirMeta_Open> = ::protobuf::lazy::Lazy {
|
||||
lock: ::protobuf::lazy::ONCE_INIT,
|
||||
ptr: 0 as *const DirMeta_Open,
|
||||
};
|
||||
unsafe {
|
||||
instance.get(DirMeta_Open::new)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl ::protobuf::Clear for DirMeta_Open {
|
||||
@ -603,7 +545,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\
|
||||
nR\x10lastCompleteOpen\x127\n\x10in_progress_open\x18\x04\x20\x01(\x0b2\
|
||||
\r.DirMeta.OpenR\x0einProgressOpen\x1a*\n\x04Open\x12\x0e\n\x02id\x18\
|
||||
\x01\x20\x01(\rR\x02id\x12\x12\n\x04uuid\x18\x02\x20\x01(\x0cR\x04uuidJ\
|
||||
\xdf\x1b\n\x06\x12\x04\x1e\0H\x01\n\xc2\x0b\n\x01\x0c\x12\x03\x1e\0\x122\
|
||||
\xc1\x17\n\x06\x12\x04\x1e\0=\x01\n\xc2\x0b\n\x01\x0c\x12\x03\x1e\0\x122\
|
||||
\xb7\x0b\x20This\x20file\x20is\x20part\x20of\x20Moonfire\x20NVR,\x20a\
|
||||
\x20security\x20camera\x20digital\x20video\x20recorder.\n\x20Copyright\
|
||||
\x20(C)\x202018\x20Scott\x20Lamb\x20<slamb@slamb.org>\n\n\x20This\x20pro\
|
||||
@ -635,63 +577,51 @@ static file_descriptor_proto_data: &'static [u8] = b"\
|
||||
more\x20details.\n\n\x20You\x20should\x20have\x20received\x20a\x20copy\
|
||||
\x20of\x20the\x20GNU\x20General\x20Public\x20License\n\x20along\x20with\
|
||||
\x20this\x20program.\x20\x20If\x20not,\x20see\x20<http://www.gnu.org/lic\
|
||||
enses/>.\n\n\xc4\x07\n\x02\x04\0\x12\x041\0H\x01\x1a\xb7\x07\x20Metadata\
|
||||
enses/>.\n\n\xf1\x01\n\x02\x04\0\x12\x04$\0=\x01\x1a\xe4\x01\x20Metadata\
|
||||
\x20stored\x20in\x20sample\x20file\x20dirs\x20as\x20\"<dir>/meta\".\x20T\
|
||||
his\x20is\x20checked\n\x20against\x20the\x20metadata\x20stored\x20within\
|
||||
\x20the\x20database\x20to\x20detect\x20inconsistencies\n\x20between\x20t\
|
||||
he\x20directory\x20and\x20database,\x20including\x20the\x20following:\n\
|
||||
\n\x20*\x20sample\x20file\x20directory's\x20disk\x20not\x20being\x20moun\
|
||||
ted.\n\x20*\x20mixing\x20up\x20mount\x20points\x20of\x20two\x20sample\
|
||||
\x20file\x20directories\x20belonging\x20to\x20the\n\x20\x20\x20same\x20d\
|
||||
atabase.\n\x20*\x20directory\x20renames\x20not\x20properly\x20recorded\
|
||||
\x20in\x20the\x20database.\n\x20*\x20restoration\x20of\x20the\x20databas\
|
||||
e\x20from\x20backup\x20but\x20not\x20the\x20sample\x20file\n\x20\x20\x20\
|
||||
directory.\n\x20*\x20restoration\x20of\x20the\x20sample\x20file\x20direc\
|
||||
tory\x20but\x20not\x20the\x20database.\n\x20*\x20two\x20sample\x20file\
|
||||
\x20directory\x20paths\x20pointed\x20at\x20the\x20same\x20inode\x20via\
|
||||
\x20symlinks\n\x20\x20\x20or\x20non-canonical\x20paths.\x20(Note\x20that\
|
||||
\x20flock(2)\x20has\x20a\x20design\x20flaw\x20in\x20which\n\x20\x20\x20m\
|
||||
ultiple\x20file\x20descriptors\x20can\x20share\x20a\x20lock,\x20so\x20th\
|
||||
e\x20current\x20locking\x20scheme\n\x20\x20\x20is\x20not\x20sufficient\
|
||||
\x20to\x20detect\x20this\x20otherwise.)\n\x20*\x20database\x20and\x20sam\
|
||||
ple\x20file\x20directories\x20forked\x20from\x20the\x20same\x20version,\
|
||||
\x20opened\n\x20\x20\x20the\x20same\x20number\x20of\x20times,\x20then\
|
||||
\x20crossed.\n\n\n\n\x03\x04\0\x01\x12\x031\x08\x0f\n\xcf\x01\n\x04\x04\
|
||||
\0\x02\0\x12\x035\x02\x14\x1a\xc1\x01\x20A\x20uuid\x20associated\x20with\
|
||||
\x20the\x20database,\x20in\x20binary\x20form.\x20dir_uuid\x20is\x20stric\
|
||||
tly\n\x20more\x20powerful,\x20but\x20it\x20improves\x20diagnostics\x20to\
|
||||
\x20know\x20if\x20the\x20directory\n\x20belongs\x20to\x20the\x20expected\
|
||||
\x20database\x20at\x20all\x20or\x20not.\n\n\r\n\x05\x04\0\x02\0\x04\x12\
|
||||
\x045\x021\x11\n\x0c\n\x05\x04\0\x02\0\x05\x12\x035\x02\x07\n\x0c\n\x05\
|
||||
\x04\0\x02\0\x01\x12\x035\x08\x0f\n\x0c\n\x05\x04\0\x02\0\x03\x12\x035\
|
||||
\x12\x13\n;\n\x04\x04\0\x02\x01\x12\x038\x02\x15\x1a.\x20A\x20uuid\x20as\
|
||||
sociated\x20with\x20the\x20directory\x20itself.\n\n\r\n\x05\x04\0\x02\
|
||||
\x01\x04\x12\x048\x025\x14\n\x0c\n\x05\x04\0\x02\x01\x05\x12\x038\x02\
|
||||
\x07\n\x0c\n\x05\x04\0\x02\x01\x01\x12\x038\x08\x10\n\x0c\n\x05\x04\0\
|
||||
\x02\x01\x03\x12\x038\x13\x14\nE\n\x04\x04\0\x03\0\x12\x04;\x02>\x03\x1a\
|
||||
7\x20Corresponds\x20to\x20an\x20entry\x20in\x20the\x20`open`\x20database\
|
||||
\x20table.\n\n\x0c\n\x05\x04\0\x03\0\x01\x12\x03;\n\x0e\n\r\n\x06\x04\0\
|
||||
\x03\0\x02\0\x12\x03<\x04\x12\n\x0f\n\x07\x04\0\x03\0\x02\0\x04\x12\x04<\
|
||||
\x04;\x10\n\x0e\n\x07\x04\0\x03\0\x02\0\x05\x12\x03<\x04\n\n\x0e\n\x07\
|
||||
\x04\0\x03\0\x02\0\x01\x12\x03<\x0b\r\n\x0e\n\x07\x04\0\x03\0\x02\0\x03\
|
||||
\x12\x03<\x10\x11\n\r\n\x06\x04\0\x03\0\x02\x01\x12\x03=\x04\x13\n\x0f\n\
|
||||
\x07\x04\0\x03\0\x02\x01\x04\x12\x04=\x04<\x12\n\x0e\n\x07\x04\0\x03\0\
|
||||
\x02\x01\x05\x12\x03=\x04\t\n\x0e\n\x07\x04\0\x03\0\x02\x01\x01\x12\x03=\
|
||||
\n\x0e\n\x0e\n\x07\x04\0\x03\0\x02\x01\x03\x12\x03=\x11\x12\n|\n\x04\x04\
|
||||
\0\x02\x02\x12\x03B\x02\x1e\x1ao\x20The\x20last\x20open\x20that\x20was\
|
||||
\x20known\x20to\x20be\x20recorded\x20in\x20the\x20database\x20as\x20comp\
|
||||
leted.\n\x20Absent\x20if\x20this\x20has\x20never\x20happened.\n\n\r\n\
|
||||
\x05\x04\0\x02\x02\x04\x12\x04B\x02>\x03\n\x0c\n\x05\x04\0\x02\x02\x06\
|
||||
\x12\x03B\x02\x06\n\x0c\n\x05\x04\0\x02\x02\x01\x12\x03B\x07\x19\n\x0c\n\
|
||||
\x05\x04\0\x02\x02\x03\x12\x03B\x1c\x1d\n\xd6\x01\n\x04\x04\0\x02\x03\
|
||||
\x12\x03G\x02\x1c\x1a\xc8\x01\x20The\x20last\x20run\x20which\x20is\x20in\
|
||||
\x20progress,\x20if\x20different\x20from\x20last_complete_open.\n\x20Thi\
|
||||
s\x20may\x20or\x20may\x20not\x20have\x20been\x20recorded\x20in\x20the\
|
||||
\x20database,\x20but\x20it's\n\x20guaranteed\x20that\x20no\x20data\x20ha\
|
||||
s\x20yet\x20been\x20written\x20by\x20this\x20open.\n\n\r\n\x05\x04\0\x02\
|
||||
\x03\x04\x12\x04G\x02B\x1e\n\x0c\n\x05\x04\0\x02\x03\x06\x12\x03G\x02\
|
||||
\x06\n\x0c\n\x05\x04\0\x02\x03\x01\x12\x03G\x07\x17\n\x0c\n\x05\x04\0\
|
||||
\x02\x03\x03\x12\x03G\x1a\x1bb\x06proto3\
|
||||
he\x20directory\x20and\x20database,\x20such\x20as\x20those\x20described\
|
||||
\x20in\n\x20design/schema.md.\n\n\n\n\x03\x04\0\x01\x12\x03$\x08\x0f\n\
|
||||
\xcf\x01\n\x04\x04\0\x02\0\x12\x03(\x02\x14\x1a\xc1\x01\x20A\x20uuid\x20\
|
||||
associated\x20with\x20the\x20database,\x20in\x20binary\x20form.\x20dir_u\
|
||||
uid\x20is\x20strictly\n\x20more\x20powerful,\x20but\x20it\x20improves\
|
||||
\x20diagnostics\x20to\x20know\x20if\x20the\x20directory\n\x20belongs\x20\
|
||||
to\x20the\x20expected\x20database\x20at\x20all\x20or\x20not.\n\n\r\n\x05\
|
||||
\x04\0\x02\0\x04\x12\x04(\x02$\x11\n\x0c\n\x05\x04\0\x02\0\x05\x12\x03(\
|
||||
\x02\x07\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03(\x08\x0f\n\x0c\n\x05\x04\0\
|
||||
\x02\0\x03\x12\x03(\x12\x13\n;\n\x04\x04\0\x02\x01\x12\x03+\x02\x15\x1a.\
|
||||
\x20A\x20uuid\x20associated\x20with\x20the\x20directory\x20itself.\n\n\r\
|
||||
\n\x05\x04\0\x02\x01\x04\x12\x04+\x02(\x14\n\x0c\n\x05\x04\0\x02\x01\x05\
|
||||
\x12\x03+\x02\x07\n\x0c\n\x05\x04\0\x02\x01\x01\x12\x03+\x08\x10\n\x0c\n\
|
||||
\x05\x04\0\x02\x01\x03\x12\x03+\x13\x14\nE\n\x04\x04\0\x03\0\x12\x04.\
|
||||
\x021\x03\x1a7\x20Corresponds\x20to\x20an\x20entry\x20in\x20the\x20`open\
|
||||
`\x20database\x20table.\n\n\x0c\n\x05\x04\0\x03\0\x01\x12\x03.\n\x0e\n\r\
|
||||
\n\x06\x04\0\x03\0\x02\0\x12\x03/\x04\x12\n\x0f\n\x07\x04\0\x03\0\x02\0\
|
||||
\x04\x12\x04/\x04.\x10\n\x0e\n\x07\x04\0\x03\0\x02\0\x05\x12\x03/\x04\n\
|
||||
\n\x0e\n\x07\x04\0\x03\0\x02\0\x01\x12\x03/\x0b\r\n\x0e\n\x07\x04\0\x03\
|
||||
\0\x02\0\x03\x12\x03/\x10\x11\n\r\n\x06\x04\0\x03\0\x02\x01\x12\x030\x04\
|
||||
\x13\n\x0f\n\x07\x04\0\x03\0\x02\x01\x04\x12\x040\x04/\x12\n\x0e\n\x07\
|
||||
\x04\0\x03\0\x02\x01\x05\x12\x030\x04\t\n\x0e\n\x07\x04\0\x03\0\x02\x01\
|
||||
\x01\x12\x030\n\x0e\n\x0e\n\x07\x04\0\x03\0\x02\x01\x03\x12\x030\x11\x12\
|
||||
\n\xb0\x02\n\x04\x04\0\x02\x02\x12\x037\x02\x1e\x1a\xa2\x02\x20The\x20la\
|
||||
st\x20open\x20that\x20was\x20known\x20to\x20be\x20recorded\x20in\x20the\
|
||||
\x20database\x20as\x20completed.\n\x20Absent\x20if\x20this\x20has\x20nev\
|
||||
er\x20happened.\x20Note\x20this\x20can\x20backtrack\x20in\x20exactly\x20\
|
||||
one\n\x20scenario:\x20when\x20deleting\x20the\x20directory,\x20after\x20\
|
||||
all\x20associated\x20files\x20have\n\x20been\x20deleted,\x20last_complet\
|
||||
e_open\x20can\x20be\x20moved\x20to\x20in_progress_open.\n\n\r\n\x05\x04\
|
||||
\0\x02\x02\x04\x12\x047\x021\x03\n\x0c\n\x05\x04\0\x02\x02\x06\x12\x037\
|
||||
\x02\x06\n\x0c\n\x05\x04\0\x02\x02\x01\x12\x037\x07\x19\n\x0c\n\x05\x04\
|
||||
\0\x02\x02\x03\x12\x037\x1c\x1d\n\xd6\x01\n\x04\x04\0\x02\x03\x12\x03<\
|
||||
\x02\x1c\x1a\xc8\x01\x20The\x20last\x20run\x20which\x20is\x20in\x20progr\
|
||||
ess,\x20if\x20different\x20from\x20last_complete_open.\n\x20This\x20may\
|
||||
\x20or\x20may\x20not\x20have\x20been\x20recorded\x20in\x20the\x20databas\
|
||||
e,\x20but\x20it's\n\x20guaranteed\x20that\x20no\x20data\x20has\x20yet\
|
||||
\x20been\x20written\x20by\x20this\x20open.\n\n\r\n\x05\x04\0\x02\x03\x04\
|
||||
\x12\x04<\x027\x1e\n\x0c\n\x05\x04\0\x02\x03\x06\x12\x03<\x02\x06\n\x0c\
|
||||
\n\x05\x04\0\x02\x03\x01\x12\x03<\x07\x17\n\x0c\n\x05\x04\0\x02\x03\x03\
|
||||
\x12\x03<\x1a\x1bb\x06proto3\
|
||||
";
|
||||
|
||||
static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy {
|
||||
|
Loading…
Reference in New Issue
Block a user