feat(anatomy): R5.2 legacy importer in Rust (curation feature, import-equine --check/--out), Prettier JSON and table layout, JS semantics; parity oracles frozen from the TypeScript
This commit is contained in:
1 parent
aed6b1e300
commit
03bdb5eaa0
32 files changed
+4248
No files matched your search
@@ -12,6 +12,12 @@ pub mod svg_tree;
|
||||
use faunosteo_core::domain::js::{find_lone_surrogate, parse_json};
|
||||
use serde_json::Value;
|
||||
|
||||
/// The absolute path of a repository file.
|
||||
#[allow(dead_code)]
|
||||
pub fn repo_path(relative: &str) -> String {
|
||||
format!("{}/../../{relative}", env!("CARGO_MANIFEST_DIR"))
|
||||
}
|
||||
|
||||
/// A repository file, by path from the repository root.
|
||||
pub fn repo_file(relative: &str) -> String {
|
||||
let path = format!("{}/../../{relative}", env!("CARGO_MANIFEST_DIR"));
|
||||
|
||||
Reference in new issue
Block a user