Skip to content

Commit 8d32578

Browse files
authored
Add table ini filepath from vpx path (#131)
1 parent 3078e9b commit 8d32578

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/vpx/mod.rs

+5
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,11 @@ pub fn vbs_path_for(vpx_file_path: &PathBuf) -> PathBuf {
488488
path_for(vpx_file_path, "vbs")
489489
}
490490

491+
/// Returns the path to table `ini` file
492+
pub fn ini_path_for(vpx_file_path: &PathBuf) -> PathBuf {
493+
path_for(vpx_file_path, "ini")
494+
}
495+
491496
fn path_for(vpx_file_path: &PathBuf, extension: &str) -> PathBuf {
492497
PathBuf::from(vpx_file_path).with_extension(extension)
493498
}

0 commit comments

Comments
 (0)