Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
change lock to locker.
Browse files Browse the repository at this point in the history
  • Loading branch information
TOwInOK committed Apr 6, 2024
1 parent 10c8dd7 commit 1e19ab8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/controller/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::time::Duration;
use log::{error, info, trace};
use tokio::{sync::Mutex, time::sleep};

use crate::{config::Config, downloader::Downloader, errors::error::LockErrors, lock::lock::Lock};
use crate::{config::Config, downloader::Downloader, errors::error::LockErrors, lock::locker::Lock};

pub struct Controller {
config: Mutex<Config>,
Expand Down
2 changes: 1 addition & 1 deletion src/downloader/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use crate::downloader::models::cores::velocity::Velocity;
use crate::downloader::models::cores::waterfall::Waterfall;
use crate::downloader::models::model::ModelCore;
use crate::errors::error::DownloadErrors;
use crate::lock::lock::{ExistState, Lock};
use crate::lock::locker::{ExistState, Lock};

use log::{debug, info};
use std::fs::File;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/lock/mod.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pub mod lock;
pub mod locker;

0 comments on commit 1e19ab8

Please sign in to comment.