APISonar


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

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

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