mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Remove some unused pub
functions (#3872)
## Summary I wrote a bad Python script to find these.
This commit is contained in:
parent
1fc6a59707
commit
cedd18e4c6
12 changed files with 3 additions and 174 deletions
|
@ -48,11 +48,6 @@ impl GitUrl {
|
|||
&self.reference
|
||||
}
|
||||
|
||||
/// Returns `true` if the reference is a full commit.
|
||||
pub fn is_full_commit(&self) -> bool {
|
||||
matches!(self.reference, GitReference::FullCommit(_))
|
||||
}
|
||||
|
||||
/// Return the precise commit, if known.
|
||||
pub fn precise(&self) -> Option<GitSha> {
|
||||
self.precise
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue