Add uv- prefix to all internal crates (#7853)

## Summary

Brings more consistency to the repo and ensures that all crates
automatically show up in `--verbose` logging.
This commit is contained in:
Charlie Marsh
2024-10-01 20:15:32 -04:00
committed by GitHub
parent 7b55e97909
commit 14507a1793
319 changed files with 1327 additions and 1317 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ use std::fmt;
use std::path::{Path, PathBuf};
use std::sync::Arc;
use uv_cache::Cache;
use uv_cache_key::cache_digest;
use uv_fs::{LockedFile, Simplified};
use crate::discovery::find_python_installation;
@@ -287,7 +288,7 @@ impl PythonEnvironment {
} else {
// Otherwise, use a global lockfile.
LockedFile::acquire(
env::temp_dir().join(format!("uv-{}.lock", cache_key::cache_digest(&self.0.root))),
env::temp_dir().join(format!("uv-{}.lock", cache_digest(&self.0.root))),
self.0.root.user_display(),
)
.await