Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
KGrewal1 committed Dec 12, 2024
1 parent 6b5f5e8 commit 1ee264b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nativelink-store/src/filesystem_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -629,12 +629,12 @@ impl<Fe: FileEntry> FilesystemStore<Fe> {
rename_fn: fn(&OsStr, &OsStr) -> Result<(), std::io::Error>,
) -> Result<Arc<Self>, Error> {
async fn create_subdirs(path: &str) -> Result<(), Error> {
fs::create_dir_all(format!("{}/{}", path, STR_FOLDER))
fs::create_dir_all(format!("{path}/{STR_FOLDER}"))
.await
.err_tip(|| format!("Failed to create directory {}/{STR_FOLDER}", path))?;
fs::create_dir_all(format!("{}/{}", path, DIGEST_FOLDER))
.err_tip(|| format!("Failed to create directory {path}/{STR_FOLDER}"))?;
fs::create_dir_all(format!("{path}/{DIGEST_FOLDER}"))
.await
.err_tip(|| format!("Failed to create directory {}/{DIGEST_FOLDER}", path))
.err_tip(|| format!("Failed to create directory {path}/{DIGEST_FOLDER}"))
}
let now = SystemTime::now();

Expand Down

0 comments on commit 1ee264b

Please sign in to comment.