InMemoryModule: Expand on comment about Jimfs

Change-Id: I7d61455b6abf677bb1708b2702a8e5604c97336b
This commit is contained in:
Dave Borowitz
2017-12-13 11:59:07 -05:00
parent e8dfabbbd6
commit 0f6e14bdc4

View File

@@ -171,7 +171,8 @@ public class InMemoryModule extends FactoryModule {
bindScope(RequestScoped.class, PerThreadRequestScope.REQUEST);
// TODO(dborowitz): Use jimfs.
// TODO(dborowitz): Use Jimfs. The biggest blocker is that JGit does not support Path-based
// Configs, only FileBasedConfig.
bind(Path.class).annotatedWith(SitePath.class).toInstance(Paths.get("."));
bind(Config.class).annotatedWith(GerritServerConfig.class).toInstance(cfg);
bind(GerritOptions.class).toInstance(new GerritOptions(cfg, false, false, false));