Monorepo for Tangled

appview/reporesolver: fix current directory extraction for tree paths master

path.Dir on extractPathAfterRef returned the parent directory, which broke relative link resolution in markdown when viewing directories. extractCurrentDir now handles blob and tree paths separately: blob paths return the parent dir, tree paths return the directory itself Signed-off-by: moshyfawn <email@moshyfawn.dev>


+48 -1
2 changed files