Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path nio File #285

Open
jbeaken opened this issue Oct 28, 2022 · 1 comment
Open

Path nio File #285

jbeaken opened this issue Oct 28, 2022 · 1 comment

Comments

@jbeaken
Copy link

jbeaken commented Oct 28, 2022

#273 (Add FileSystemResolver(Path) constructor ) was merged into main on 6 Oct 2021, but isn't part of release 0.9.10

Simple to build from main, or even copy/paste the enhanced FileSystemResolver, but would be nice to have as the nio Path usage allows for mocking the filesystem with jmfs

@bademux
Copy link

bademux commented May 6, 2023

Unfortunately my comment was not on top priority :( #224 (comment)
But you can use com.github.mustachejava.DefaultMustacheFactory#DefaultMustacheFactory(com.github.mustachejava.MustacheResolver) constructor directly. Implement your own resolver.

com.github.mustachejava.MustacheResolver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants