From feb19be44a68c8700bcd7da228a5581f6a957c15 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Wed, 12 Sep 2018 12:11:57 -0400 Subject: [PATCH] doc/notes: Remove path This is no longer needed. * doc/notes/path-processing: Remove file. --- doc/notes/path-processing | 65 --------------------------------------- 1 file changed, 65 deletions(-) delete mode 100644 doc/notes/path-processing diff --git a/doc/notes/path-processing b/doc/notes/path-processing deleted file mode 100644 index 8560ee0a..00000000 --- a/doc/notes/path-processing +++ /dev/null @@ -1,65 +0,0 @@ -Path processing ---------------- -Need rules that will work for both the existing scenario (B) and the new -scenario (A): - - - _ - / \ - / _ \ - / ___ \ -/_/ \_\ ---------- - -root = ../ -package = suppliers/colony <--- /suppliers/colony -import = ../map/return/colony <--- /map/return/colony - -mapimport = ../../suppliers/colony/gl <-- /suppliers/colony/gl - - - this is the root - / \ - v v -1) <..>/map/return/ | <..>/../suppliers/colony/gl - = ../suppliers/colony/gl - ^^^^^^^^^^^^^^^^ - \ / - package name - -2) strip root||(package base) from package import - = ../map/return | <../suppliers/>colony/gl - = colony/gl - ^^^^^^^^^ - ` The relative path from package - - - - ____ -| __ ) -| _ \ -| |_) | -|____/ -------- - -what about normal includes? - - -root = ../ -package = suppliers/colony <--- /suppliers/colony -import = ../common/foo <--- /common/foo - -subimport = bar/baz <--- /common/foo/bar/baz - - - one has root, other does not - / - v -1) <..>/common/ | bar/baz - = ../common/bar/baz - -2) strip root||(package base) from package import - = ../common/bar/baz - ^^^^^^^^^^^^^^^^^ - ` no such prefix, - so this is the relative path