mirror of
https://github.com/loot/loot-condition-interpreter.git
synced 2026-07-27 14:16:09 -07:00
Move version module
It's only used inside the function module, so move it there.
This commit is contained in:
@@ -7,7 +7,7 @@ use std::path::{Path, PathBuf};
|
||||
use regex::Regex;
|
||||
|
||||
use super::{ComparisonOperator, Function};
|
||||
use crate::version::Version;
|
||||
use super::version::Version;
|
||||
use crate::{Error, State};
|
||||
|
||||
fn add_extension(path: &Path, extension: &str) -> PathBuf {
|
||||
|
||||
@@ -6,6 +6,7 @@ use std::path::PathBuf;
|
||||
use regex::Regex;
|
||||
use unicase::eq;
|
||||
|
||||
mod version;
|
||||
pub mod eval;
|
||||
pub mod parse;
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
mod error;
|
||||
mod function;
|
||||
mod version;
|
||||
|
||||
use std::collections::{HashMap, HashSet};
|
||||
use std::ffi::OsStr;
|
||||
|
||||
Reference in New Issue
Block a user