use of com.intellij.vcs.log.data.VcsLogStructureFilterImpl in project intellij-community by JetBrains.
the class FileHistoryFilterUi method getFilters.
@NotNull
@Override
public VcsLogFilterCollection getFilters() {
VcsLogStructureFilterImpl fileFilter = new VcsLogStructureFilterImpl(Collections.singleton(myPath));
VcsLogBranchFilterImpl branchFilter = myProperties.get(FileHistoryUiProperties.SHOW_ALL_BRANCHES) ? null : VcsLogBranchFilterImpl.fromBranch("HEAD");
return new VcsLogFilterCollectionBuilder().with(fileFilter).with(branchFilter).build();
}
Aggregations