Page MenuHomePhabricator

templater: restructure open_template() a little to prepare for relative paths
ClosedPublic

Authored by martinvonz on Aug 6 2020, 2:29 PM.

Details

Summary

I found that it was easier to add support for relative paths after
this restructuring. It also made it easier to explain each case with a
code comment (which I did).

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.