Refactor flatten method to be public

This commit is contained in:
Moritz Hölting 2024-04-13 13:31:14 +02:00
parent 581e8a3fff
commit 19db26efa2
1 changed files with 1 additions and 2 deletions

View File

@ -165,9 +165,8 @@ impl VFolder {
Ok(())
}
#[allow(dead_code)]
/// Flatten the folder and its contents into a list of files with full paths.
fn flatten(&self) -> Vec<(String, &VFile)> {
pub fn flatten(&self) -> Vec<(String, &VFile)> {
let mut files = self
.files
.iter()