about summary refs log tree commit diff stats
path: root/crates/yt/src/storage/db/get/mod.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-07-14 16:03:50 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-07-14 16:03:50 +0200
commite4d6fc04f60cf7b8173df7f261428b25d009ba39 (patch)
tree236abaac0f41f75391e3b7048920168593f31608 /crates/yt/src/storage/db/get/mod.rs
parentrefactor(crates/yt): Make every `pub` item `pub(crate)` (diff)
downloadyt-e4d6fc04f60cf7b8173df7f261428b25d009ba39.zip
feat(crates/yt/storage): Migrate inserts to operations and use methods
This allows us to re-use the operations and in the future to provide
undo-capabilities and a git-reflog like changelog.

This commit also fixes some bugs with the old design.
Diffstat (limited to 'crates/yt/src/storage/db/get/mod.rs')
-rw-r--r--crates/yt/src/storage/db/get/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/yt/src/storage/db/get/mod.rs b/crates/yt/src/storage/db/get/mod.rs
new file mode 100644
index 0000000..8ca3075
--- /dev/null
+++ b/crates/yt/src/storage/db/get/mod.rs
@@ -0,0 +1,4 @@
+pub(crate) mod subscription;
+pub(crate) mod video;
+pub(crate) mod extractor_hash;
+pub(crate) mod playlist;