1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-05-30 08:36:47 +02:00

Rename resolve_from_cwd to absolutize_path

Update call sites and tests to use the new API. Adjust tweet scraper
path/credentials handling and make small tweaks to local path hashing
and
raw store helpers.

Signed-off-by: TheGeneralist
<180094941+thegeneralist01@users.noreply.github.com>
Signed-off-by: TheGeneralist <180094941+thegeneralist01@users.noreply.github.com>
This commit is contained in:
TheGeneralist 2026-04-02 20:59:57 +02:00
parent 741e33c3af
commit 9837bda0c2
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
3 changed files with 49 additions and 6 deletions

View file

@ -357,6 +357,7 @@ fn main() -> Result<()> {
let source = determine_source(path);
// Sources: Tweets or Twitter Threads
match source {
Source::Other => {
eprintln!("Archiving from this source is not yet implemented.");
@ -392,7 +393,7 @@ fn main() -> Result<()> {
_ => {}
}
// Other sources
// Sources, for which yt-dlp is needed
let path = resolve_source_path(path, &source);
let hash = match source {
Source::YouTubeVideo