summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-05-06 11:50:07 +0300
committerLars Wirzenius <liw@liw.fi>2020-05-09 08:41:05 +0300
commitf4088defa1d8de5b6d5060bfd2021a23f691f718 (patch)
treed346efed890a8d36ffa270c6f11112658d7a91a7 /src/lib.rs
parentaefd93fb14b4781deca481d2a21953c9fd30f361 (diff)
downloadsubplot-f4088defa1d8de5b6d5060bfd2021a23f691f718.tar.gz
Change: use a base directory for relative paths
This moves the policy decision of what the base directory is to the main functions of the various programs, instead of hiding it deep in the call stack and making it implicitly the current working directory.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 75e78c9..d717a36 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -13,6 +13,7 @@ mod graphmarkup;
pub use graphmarkup::{DotMarkup, GraphMarkup, PlantumlMarkup};
mod ast;
+pub use ast::get_basedir_from;
pub use ast::Document;
mod scenarios;