appview/reporesolver: fix current directory extraction for tree paths
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>
authored by
tangled.org
5d3553d7
dfa97820