From a3324b7e71ec48daab81981e7d85967a590d4f79 Mon Sep 17 00:00:00 2001 From: Christoph Schlosser Date: Fri, 19 Sep 2025 19:21:11 +0200 Subject: g2h: Add utility script Also move the sources into the more conventional src/g2h dir --- src/g2h/tree.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 src/g2h/tree.py (limited to 'src/g2h/tree.py') diff --git a/src/g2h/tree.py b/src/g2h/tree.py new file mode 100644 index 0000000..bd8116c --- /dev/null +++ b/src/g2h/tree.py @@ -0,0 +1,2 @@ +def safe_join(tree, path): + return tree.join(path) if path else tree -- cgit v1.2.3