Tabnine Logo
DiffCount.addFilter
Code IndexAdd Tabnine to your IDE (free)

How to use
addFilter
method
in
org.locationtech.geogig.plumbing.DiffCount

Best Java code snippets using org.locationtech.geogig.plumbing.DiffCount.addFilter (Showing top 2 results out of 315)

origin: locationtech/geogig

/**
 * @param pathFilter if specified, only changes that match the filter will be counted
 * @return the number differences between the work tree and the index based on the path filter.
 */
@Override
public DiffObjectCount countUnstaged(final @Nullable String pathFilter) {
  DiffObjectCount count = context.command(DiffCount.class).setOldVersion(Ref.STAGE_HEAD)
      .setNewVersion(Ref.WORK_HEAD).addFilter(pathFilter).call();
  return count;
}
origin: org.locationtech.geogig/geogig-core

/**
 * @param pathFilter if specified, only changes that match the filter will be counted
 * @return the number differences between the work tree and the index based on the path filter.
 */
@Override
public DiffObjectCount countUnstaged(final @Nullable String pathFilter) {
  DiffObjectCount count = context.command(DiffCount.class).setOldVersion(Ref.STAGE_HEAD)
      .setNewVersion(Ref.WORK_HEAD).addFilter(pathFilter).call();
  return count;
}
org.locationtech.geogig.plumbingDiffCountaddFilter

Popular methods of DiffCount

  • call
  • setNewVersion
  • setOldVersion
  • setNewTree
  • setFilter
  • setOldTree
  • setProgressListener
  • command
  • getTree
  • objectDatabase
  • setLeftSource
  • setRightSource
  • setLeftSource,
  • setRightSource

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (Timer)
  • getSharedPreferences (Context)
  • onRequestPermissionsResult (Fragment)
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now