APISonar


com.facebook.buck.parser.config.AbstractParserConfig.SkylarkGlobHandler.JAVA

> com > facebook > buck > parser > config > AbstractParserConfig > SkylarkGlobHandler > JAVA
com APIs facebook APIs buck APIs parser APIs config APIs AbstractParserConfig APIs SkylarkGlobHandler APIs JAVA APIs

Example 1
private static GlobberFactory getSkylarkGlobberFactory(
      ProjectBuildFileParserOptions buildFileParserOptions, SkylarkGlobHandler skylarkGlobHandler)
      throws IOException {
    SyncCookieState syncCookieState = new SyncCookieState();
    return skylarkGlobHandler == SkylarkGlobHandler.JAVA
            || buildFileParserOptions.getWatchman() == WatchmanFactory.NULL_WATCHMAN
        ? NativeGlobber::create
        : HybridGlobberFactory.using(
            buildFileParserOptions.getWatchman().createClient(),
            syncCookieState,
            buildFileParserOptions.getProjectRoot(),
            buildFileParserOptions.getWatchman().getProjectWatches());
  }