From 5271c8503199ea6e14f298743b28f2262a7e216a Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 10 Nov 2018 02:44:48 -0500 Subject: rename paths to util, and add more stuff to it --- src/cmd/sync.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cmd/sync.rs') diff --git a/src/cmd/sync.rs b/src/cmd/sync.rs index 5b71954..99e39f7 100644 --- a/src/cmd/sync.rs +++ b/src/cmd/sync.rs @@ -1,6 +1,6 @@ use db; use lastfm; -use paths; +use util; use clap; @@ -28,7 +28,7 @@ impl Command { impl super::Command for Command { fn run(&self) -> failure::Fallible<()> { - let db = db::DB::new(&paths::db_path()?)?; + let db = db::DB::new(&util::db_path()?)?; let lastfm = lastfm::LastFMClient::new(&self.username)?; let from = db.most_recent_timestamp()?.map(|x| x + 1); -- cgit v1.2.3-54-g00ecf