mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-22 04:37:46 +00:00
Clarify that IndexFile::from_existing is not reading index2 files
This commit is contained in:
parent
209b475065
commit
75f88ba3b6
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ pub struct IndexFile {
|
|||
}
|
||||
|
||||
impl IndexFile {
|
||||
/// Creates a new reference to an existing index file, this reads both an index and index2 file.
|
||||
/// Creates a new reference to an existing index file.
|
||||
pub fn from_existing(path: &str) -> Option<IndexFile> {
|
||||
let mut index_file = std::fs::File::open(path).ok()?;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue