Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
66,200 | boolean (final Collection<? extends FilePath> roots, final FilePath root) { return isNested(roots, root.getIOFile()); } | isNested |
66,201 | boolean (final Collection<? extends FilePath> roots, final File root) { for (FilePath filePath : roots) { final File ioFile = filePath.getIOFile(); if (FileUtil.isAncestor(ioFile, root, true)) { return true; } } return false; } | isNested |
66,202 | FilePath () { return myFilePath; } | getFilePath |
66,203 | Status () { return myStatus; } | getStatus |
66,204 | Url () { return ObjectUtils.chooseNotNull(myCopyFromURL, myStatus.getCopyFromUrl()); } | getCopyFromURL |
66,205 | String () { return myFilePath.getPath(); } | toString |
66,206 | boolean (final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final SvnChangedFile that = (SvnChangedFile)o; return myFilePath.equals(that.myFilePath); } | equals |
66,207 | int () { return myFilePath.hashCode(); } | hashCode |
66,208 | void (@NotNull List<VirtualFile> roots) { if (roots.isEmpty()) return; synchronized (myLock) { if (myInvocationCounter >= ourInvocationMax) return; ++myCounter; --myDownStartCounter; if (myCounter <= ourFrequency && myDownStartCounter < 0) return; myCounter = 0; ++myInvocationCounter; } executeOnPooledThread(this, () -... | checkAndNotify |
66,209 | void () { } | dispose |
66,210 | void (@NotNull List<VirtualFile> roots) { String message = roots.size() == 1 ? message("notification.content.single.root.unsupported.format", roots.get(0).getPresentableName()) : message("notification.content.multiple.roots.unsupported.format"); getApplication().invokeLater( () -> { if (isDisposed(this)) return; new Vc... | notify |
66,211 | boolean (@NotNull VirtualFile root) { checkCanceled(); return SvnUtil.seemsLikeVersionedDir(root); } | seemsVersioned |
66,212 | void () { LocalFileSystem.getInstance().unregisterAuxiliaryFileOperationsHandler(this); } | dispose |
66,213 | boolean (@NotNull VirtualFile file) { return VcsUtil.isFileForVcs(file, myVcs.getProject(), myVcs); } | isMyVcs |
66,214 | VcsException (@NotNull VcsException e) { return e instanceof SvnBindException && ((SvnBindException)e).contains(ErrorCode.ENTRY_EXISTS) ? createMoveTargetExistsError(e) : e; } | handleMoveException |
66,215 | VcsException (@NotNull Exception e) { return new VcsException(Arrays.asList( message("error.target.of.move.operation.is.already.under.version.control"), message("error.move.have.not.been.performed"), e.getMessage() )); } | createMoveTargetExistsError |
66,216 | File (@NotNull final VirtualFile file, @NotNull final VirtualFile toDir, @NotNull final String copyName) { if (!isMyVcs(toDir)) return null; startOperation(toDir); File srcFile = virtualToIoFile(file); File destFile = new File(virtualToIoFile(toDir), copyName); if (!SvnUtil.isSvnVersioned(myVcs, destFile.getParentFile(... | copy |
66,217 | boolean (@NotNull VirtualFile srcDir, @NotNull VirtualFile dstDir) { final String srcUUID = getRepositoryUUID(srcDir); final String dstUUID = getRepositoryUUID(dstDir); return srcUUID != null && srcUUID.equals(dstUUID); } | sameRoot |
66,218 | String (@NotNull VirtualFile dir) { try { final Info info1 = new RepeatSvnActionThroughBusy() { @Override protected void executeImpl() { myT = myVcs.getInfo(virtualToIoFile(dir)); } }.compute(); if (info1 == null || info1.getRepositoryId() == null) { // go deeper if current parent was added (if parent was added, it the... | getRepositoryUUID |
66,219 | void () { myT = myVcs.getInfo(virtualToIoFile(dir)); } | executeImpl |
66,220 | boolean (@NotNull VirtualFile file, @NotNull VirtualFile toDir) { if (!isMyVcs(toDir)) return false; startOperation(toDir); if (!isMyVcs(file)) return createItem(toDir, file.getName(), file.isDirectory(), true); File srcFile = getIOFile(file); File dstFile = new File(getIOFile(toDir), file.getName()); // save all docum... | move |
66,221 | boolean (@NotNull VirtualFile file, @NotNull String newName) { if (!isMyVcs(file)) return false; startOperation(file); File srcFile = getIOFile(file); File dstFile = new File(srcFile.getParentFile(), newName); // save all documents here when !myMovedFiles.isEmpty() deletes these files from VFS // these leads to psi inv... | rename |
66,222 | boolean (@NotNull File src, @NotNull File dst) { try { final boolean isUndo = isUndo(); final String list = isUndo ? null : SvnChangelistListener.getCurrentMapping(myVcs, src); WorkingCopyFormat format = myVcs.getWorkingCopyFormat(src); final boolean is17OrLater = format.isOrGreater(WorkingCopyFormat.ONE_DOT_SEVEN); if... | doMove |
66,223 | boolean (@Nullable Status status) { return status == null || status.is(StatusType.STATUS_UNVERSIONED); } | isUnversioned |
66,224 | boolean (@NotNull File file) { return isUnversioned(getFileStatus(file)); } | isUnversioned |
66,225 | boolean (File src) { // if src is not under version control, do usual move. Status srcStatus = getFileStatus(src); return srcStatus == null || srcStatus.is(StatusType.STATUS_UNVERSIONED, StatusType.STATUS_OBSTRUCTED, StatusType.STATUS_MISSING, StatusType.STATUS_EXTERNAL); } | doUsualMove |
66,226 | boolean (final File dst, final boolean undo) { if (undo) { myUndoingMove = true; restoreFromUndoStorage(dst); } // TODO: Implement svn 1.6 support for command line. return true; } | for16move |
66,227 | void (final File dst) { String normPath = FileUtil.toSystemIndependentName(dst.getPath()); for (Iterator<Couple<File>> it = myUndoStorageContents.iterator(); it.hasNext(); ) { Couple<File> e = it.next(); final String p = FileUtil.toSystemIndependentName(e.first.getPath()); if (p.startsWith(normPath)) { try { FileUtil.r... | restoreFromUndoStorage |
66,228 | boolean (@NotNull VirtualFile dir, @NotNull String name) { if (!isMyVcs(dir)) return false; startOperation(dir); return createItem(dir, name, false, false); } | createFile |
66,229 | boolean (@NotNull VirtualFile dir, @NotNull String name) { if (!isMyVcs(dir)) return false; startOperation(dir); return createItem(dir, name, true, false); } | createDirectory |
66,230 | boolean (@NotNull VirtualFile file) { if (!isMyVcs(file)) return false; startOperation(file); if (SvnUtil.isAdminDirectory(file)) return true; final VcsShowConfirmationOption.Value value = myDeleteConfirmation.getValue(); if (VcsShowConfirmationOption.Value.DO_NOTHING_SILENTLY.equals(value)) return false; final File io... | delete |
66,231 | RepeatSvnActionThroughBusy (@NotNull final File file, final boolean recursive) { return new RepeatSvnActionThroughBusy() { @Override protected void executeImpl() throws VcsException { myVcs.getFactory(file).createRevertClient().revert(Collections.singletonList(file), Depth.allOrFiles(recursive), null); } }; } | createRevertAction |
66,232 | RepeatSvnActionThroughBusy (@NotNull final File file, final boolean force) { return new RepeatSvnActionThroughBusy() { @Override protected void executeImpl() throws VcsException { myVcs.getFactory(file).createDeleteClient().delete(file, force, false, null); } }; } | createDeleteAction |
66,233 | boolean (File ioFile) { for (MovedFileInfo file : myMovedFiles) { if (FileUtil.isAncestor(ioFile, file.mySrc, false)) return true; } for (AddedFileInfo info : myAddedFiles) { if (info.myCopyFrom != null && FileUtil.isAncestor(ioFile, info.myCopyFrom, false)) return true; } return false; } | isAboveSourceOfCopyOrMove |
66,234 | void (final VirtualFile file) { if (myStorageForUndo == null) { try { myStorageForUndo = FileUtil.createTempDirectory("svnUndoStorage", ""); } catch (IOException e) { LOG.error(e); return; } } final File tmpFile = FileUtil.findSequentNonexistentFile(myStorageForUndo, "tmp", ""); myUndoStorageContents.add(0, Couple.of(v... | moveToUndoStorage |
66,235 | boolean (VirtualFile dir, String name, boolean directory, final boolean recursive) { final VcsShowConfirmationOption.Value value = myAddConfirmation.getValue(); if (VcsShowConfirmationOption.Value.DO_NOTHING_SILENTLY.equals(value)) return false; if (isUndo() && SvnUtil.isAdminDirectory(dir, name)) { return false; } Fil... | createItem |
66,236 | boolean (final VirtualFile dir) { for (AddedFileInfo i : myAddedFiles) { if (Comparing.equal(i.myDir, dir.getParent()) && i.myName.equals(dir.getName())) { return true; } } return false; } | isPendingAdd |
66,237 | void (@NotNull CommandEvent event) { myIsInCommand = true; myUndoingMove = false; if (myVcs.getProject() != event.getProject()) return; commandStarted(); } | commandStarted |
66,238 | void () { myUndoingMove = false; myMoveExceptions.clear(); } | commandStarted |
66,239 | void (@NotNull CommandEvent event) { myIsInCommand = false; if (myVcs.getProject() != event.getProject()) return; commandFinished(); } | commandFinished |
66,240 | void () { checkOverwrites(); if (!myAddedFiles.isEmpty()) { processAddedFiles(); } processMovedFiles(); if (!myDeletedFiles.isEmpty()) { processDeletedFiles(); } if (!myMoveExceptions.isEmpty()) { AbstractVcsHelper.getInstance(myVcs.getProject()).showErrors(myMoveExceptions, message("move.files.errors.title")); } if (!... | commandFinished |
66,241 | void () { if (myAddedFiles.isEmpty() || myDeletedFiles.isEmpty()) return; final Iterator<AddedFileInfo> iterator = myAddedFiles.iterator(); while (iterator.hasNext()) { AddedFileInfo addedFileInfo = iterator.next(); final File ioFile = new File(addedFileInfo.myDir.getPath(), addedFileInfo.myName); if (myDeletedFiles.re... | checkOverwrites |
66,242 | void () { final List<VirtualFile> toRefreshFiles = new ArrayList<>(); final List<VirtualFile> toRefreshDirs = new ArrayList<>(); for (VirtualFile file : myFilesToRefresh) { if (file == null) continue; if (file.isDirectory()) { toRefreshDirs.add(file); } else { toRefreshFiles.add(file); } } // if refresh asynchronously,... | refreshFiles |
66,243 | void (@NotNull Collection<VirtualFile> files) { for (Iterator<VirtualFile> iterator = files.iterator(); iterator.hasNext(); ) { VirtualFile file = iterator.next(); if (file == null) { iterator.remove(); } else if (!file.isValid() || !file.exists()) { LOG.info("Refresh root is not valid: " + file.getPath()); iterator.re... | filterOutInvalid |
66,244 | void () { final List<VirtualFile> addedVFiles = new ArrayList<>(); final Map<VirtualFile, File> copyFromMap = new HashMap<>(); final Set<VirtualFile> recursiveItems = new HashSet<>(); fillAddedFiles(addedVFiles, copyFromMap, recursiveItems); if (addedVFiles.isEmpty()) return; final VcsShowConfirmationOption.Value value... | processAddedFiles |
66,245 | void (@NotNull Runnable runnable) { Application application = ApplicationManager.getApplication(); if (application.isWriteAccessAllowed()) { application.invokeLater(runnable, myVcs.getProject().getDisposed()); } else { runnable.run(); } } | runNotUnderWriteAction |
66,246 | void (@ProgressTitle @NotNull String name, @NotNull Runnable runnable) { if (ApplicationManager.getApplication().isDispatchThread()) { ProgressManager.getInstance().runProcessWithProgressSynchronously(runnable, name, false, myVcs.getProject()); } else { runnable.run(); } } | runInBackground |
66,247 | Runnable (final Map<VirtualFile, File> copyFromMap, final Collection<? extends VirtualFile> filesToProcess, final List<? super VcsException> exceptions) { return () -> { for (VirtualFile file : filesToProcess) { final File ioFile = virtualToIoFile(file); try { final File copyFrom = copyFromMap.get(file); if (copyFrom !... | createAdditionRunnable |
66,248 | Collection<VirtualFile> (List<VirtualFile> addedVFiles, VcsShowConfirmationOption.Value value, AbstractVcsHelper vcsHelper) { Collection<VirtualFile> filesToProcess; if (value == VcsShowConfirmationOption.Value.DO_ACTION_SILENTLY) { filesToProcess = addedVFiles; } else { final String singleFilePrompt; if (addedVFiles.s... | promptAboutAddition |
66,249 | void (List<? super VirtualFile> addedVFiles, Map<VirtualFile, File> copyFromMap, Set<? super VirtualFile> recursiveItems) { final Collection<AddedFileInfo> addedFileInfos = new ArrayList<>(myAddedFiles); myAddedFiles.clear(); for (AddedFileInfo addedFileInfo : addedFileInfos) { final File ioFile = new File(getIOFile(ad... | fillAddedFiles |
66,250 | void () { final List<Pair<FilePath, WorkingCopyFormat>> deletedFiles = new ArrayList<>(); final Collection<FilePath> filesToProcess = new ArrayList<>(); List<VcsException> exceptions = new ArrayList<>(); final AbstractVcsHelper vcsHelper = AbstractVcsHelper.getInstance(myVcs.getProject()); try { fillDeletedFiles(delete... | processDeletedFiles |
66,251 | Runnable (final Collection<? extends FilePath> filesToProcess, final List<? super VcsException> exceptions) { return () -> { for (FilePath file : filesToProcess) { VirtualFile vFile = file.getVirtualFile(); // for deleted directories final File ioFile = new File(file.getPath()); try { createDeleteAction(ioFile, true).e... | createDeleteRunnable |
66,252 | Collection<FilePath> (List<? extends Pair<FilePath, WorkingCopyFormat>> deletedFiles, VcsShowConfirmationOption.Value value, AbstractVcsHelper vcsHelper) { Collection<FilePath> filesToProcess; if (value == VcsShowConfirmationOption.Value.DO_ACTION_SILENTLY) { filesToProcess = map(deletedFiles, Functions.pairFirst()); }... | promptAboutDeletion |
66,253 | void () { if (myMovedFiles.isEmpty()) return; final Runnable runnable = () -> { for (Iterator<MovedFileInfo> iterator = myMovedFiles.iterator(); iterator.hasNext(); ) { MovedFileInfo movedFileInfo = iterator.next(); doMove(movedFileInfo.mySrc, movedFileInfo.myDst); iterator.remove(); } }; runInBackground(message("progr... | processMovedFiles |
66,254 | File (@NotNull VirtualFile vf) { return virtualToIoFile(vf).getAbsoluteFile(); } | getIOFile |
66,255 | Status (@NotNull final File file) { try { return new RepeatSvnActionThroughBusy() { @Override protected void executeImpl() throws VcsException { myT = myVcs.getFactory(file).createStatusClient().doStatus(file, false); } }.compute(); } catch (VcsException e) { return null; } } | getFileStatus |
66,256 | boolean () { return UndoManager.getInstance(myVcs.getProject()).isUndoInProgress(); } | isUndo |
66,257 | void (@NotNull VirtualFile file) { // currently actions like "new project", "import project" (probably also others) are not performed under command if (!myIsInCommand) { myIsOperationStarted = myVcs.getProject() == ProjectLocator.getInstance().guessProjectForFile(file); if (myIsOperationStarted) commandStarted(); } } | startOperation |
66,258 | void (final @NotNull ThrowableConsumer<? super LocalFileOperationsHandler, ? extends IOException> invoker) { if (!myIsInCommand && myIsOperationStarted) commandFinished(); } | afterDone |
66,259 | void () { if (myProject.isDefault()) return; if (!getSvnConfiguration().isCleanupRun()) { ApplicationManager.getApplication().invokeLater(() -> { cleanup17copies(); getSvnConfiguration().setCleanupRun(true); }, ModalityState.nonModal(), myProject.getDisposed()); } else { invokeRefreshSvnRoots(); } } | postStartup |
66,260 | void () { Runnable callCleanupWorker = () -> { if (myProject.isDisposed()) return; new CleanupWorker(this, emptyList()) { @Override protected void fillRoots() { for (WCInfo info : getAllWcInfos()) { if (WorkingCopyFormat.ONE_DOT_SEVEN.equals(info.getFormat())) { VirtualFile file = LocalFileSystem.getInstance().refreshA... | cleanup17copies |
66,261 | void () { for (WCInfo info : getAllWcInfos()) { if (WorkingCopyFormat.ONE_DOT_SEVEN.equals(info.getFormat())) { VirtualFile file = LocalFileSystem.getInstance().refreshAndFindFileByIoFile(info.getRootInfo().getIoFile()); if (file == null) { LOG.info("Wasn't able to find virtual file for wc root: " + info.getPath()); } ... | fillRoots |
66,262 | boolean () { return myProject.getService(SvnExecutableChecker.class).checkExecutableAndNotifyIfNeeded(); } | checkCommandLineVersion |
66,263 | void () { if (REFRESH_LOG.isDebugEnabled()) { REFRESH_LOG.debug("refresh: ", new Throwable()); } getSvnFileUrlMappingImpl().scheduleRefresh(); } | invokeRefreshSvnRoots |
66,264 | void () { ChangeListManager.getInstance(myProject).setReadOnly(LocalChangeList.getDefaultName(), true); if (!getSvnConfiguration().changeListsSynchronized()) { List<LocalChangeList> changeLists = ChangeListManager.getInstance(myProject).getChangeLists(); ExclusiveBackgroundVcsAction.run(myProject, () -> synchronizeToNa... | setupChangeLists |
66,265 | void (@NotNull List<? extends LocalChangeList> lists) { for (LocalChangeList list : lists) { if (list.isDefault()) continue; for (Change change : list.getChanges()) { setNativeChangeList(getBeforePath(change), list.getName()); setNativeChangeList(getAfterPath(change), list.getName()); } } } | synchronizeToNativeChangeLists |
66,266 | void (@Nullable FilePath path, @NotNull String changeListName) { if (path == null) return; if (!isFileForVcs(path, myProject, this)) return; try { getFactory(path.getIOFile()).createChangeListClient().add(changeListName, path.getIOFile(), null); } catch (VcsException e) { // left in default list } } | setNativeChangeList |
66,267 | void () { Disposable disposable = Disposer.newDisposable(); myDisposable = disposable; MessageBusConnection busConnection = myProject.getMessageBus().connect(); busConnection.subscribe(ChangeListListener.TOPIC, new SvnChangelistListener(this)); busConnection.subscribe(ProjectLevelVcsManager.VCS_CONFIGURATION_CHANGED, (... | activate |
66,268 | void () { if (myDisposable != null) { Disposer.dispose(myDisposable); myDisposable = null; } if (myCommittedChangesProvider != null) { myCommittedChangesProvider.deactivate(); myCommittedChangesProvider = null; } mySvnBranchPointsCalculator.deactivate(); mySvnBranchPointsCalculator = null; } | deactivate |
66,269 | EditFileProvider () { if (myEditFilesProvider == null) { myEditFilesProvider = new SvnEditFileProvider(this); } return myEditFilesProvider; } | getEditFileProvider |
66,270 | ChangeProvider () { if (myChangeProvider == null) { myChangeProvider = new SvnChangeProvider(this); } return myChangeProvider; } | getChangeProvider |
66,271 | UpdateEnvironment () { if (mySvnIntegrateEnvironment == null) { mySvnIntegrateEnvironment = new SvnIntegrateEnvironment(this); } return mySvnIntegrateEnvironment; } | getIntegrateEnvironment |
66,272 | UpdateEnvironment () { if (mySvnUpdateEnvironment == null) { mySvnUpdateEnvironment = new SvnUpdateEnvironment(this); } return mySvnUpdateEnvironment; } | createUpdateEnvironment |
66,273 | String () { return VCS_DISPLAY_NAME; } | getDisplayName |
66,274 | String () { return VCS_SHORT_DISPLAY_NAME; } | getShortName |
66,275 | String () { return SvnBundle.message("svn.short.name.with.mnemonic"); } | getShortNameWithMnemonic |
66,276 | SvnConfiguration () { return SvnConfiguration.getInstance(myProject); } | getSvnConfiguration |
66,277 | SvnVcs (@NotNull Project project) { return (SvnVcs)ProjectLevelVcsManager.getInstance(project).findVcsByName(VCS_NAME); } | getInstance |
66,278 | CheckinEnvironment () { if (myCheckinEnvironment == null) { myCheckinEnvironment = new SvnCheckinEnvironment(this); } return myCheckinEnvironment; } | createCheckinEnvironment |
66,279 | RollbackEnvironment () { if (myRollbackEnvironment == null) { myRollbackEnvironment = new SvnRollbackEnvironment(this); } return myRollbackEnvironment; } | createRollbackEnvironment |
66,280 | SvnHistoryProvider () { // no heavy state, but it would be useful to have place to keep state in -> do not reuse instance return new SvnHistoryProvider(this); } | getVcsHistoryProvider |
66,281 | VcsHistoryProvider () { return getVcsHistoryProvider(); } | getVcsBlockHistoryProvider |
66,282 | AnnotationProvider () { if (myAnnotationProvider == null) { myAnnotationProvider = new SvnAnnotationProvider(this); } return new VcsAnnotationCachedProxy(this, myAnnotationProvider); } | getAnnotationProvider |
66,283 | DiffProvider () { if (mySvnDiffProvider == null) { mySvnDiffProvider = new SvnDiffProvider(this); } return mySvnDiffProvider; } | getDiffProvider |
66,284 | void () { super.loadSettings(); ProjectLevelVcsManager vcsManager = ProjectLevelVcsManager.getInstance(myProject); vcsManager.getStandardConfirmation(VcsConfiguration.StandardConfirmation.ADD, this); vcsManager.getStandardConfirmation(VcsConfiguration.StandardConfirmation.REMOVE, this); vcsManager.getStandardOption(Vcs... | loadSettings |
66,285 | boolean (FilePath path) { File file = path.getIOFile(); try { Status status = getFactory(file).createStatusClient().doStatus(file, false); if (status != null) { return status.is(StatusType.STATUS_ADDED) ? status.isCopied() : !status.is(StatusType.STATUS_UNVERSIONED, StatusType.STATUS_IGNORED, StatusType.STATUS_OBSTRUCT... | fileExistsInVcs |
66,286 | boolean (@NotNull FilePath path) { VirtualFile file = path.getVirtualFile(); return file != null && SvnStatusUtil.isUnderControl(this, file); } | fileIsUnderVcs |
66,287 | Info (@NotNull final VirtualFile file) { return getInfo(virtualToIoFile(file)); } | getInfo |
66,288 | Info (@NotNull String path) { return getInfo(new File(path)); } | getInfo |
66,289 | Info (@NotNull File ioFile) { return getInfo(ioFile, Revision.UNDEFINED); } | getInfo |
66,290 | void (@NotNull Collection<File> files, @Nullable InfoConsumer handler) { File first = getFirstItem(files); if (first != null) { try { getFactory(first).createInfoClient().doInfo(files, handler); } catch (SvnBindException e) { handleInfoException(e); } } } | collectInfo |
66,291 | Info (@NotNull File ioFile, @NotNull Revision revision) { Info result = null; try { result = getFactory(ioFile).createInfoClient().doInfo(ioFile, revision); } catch (SvnBindException e) { handleInfoException(e); } return result; } | getInfo |
66,292 | void (@NotNull SvnBindException e) { if (!myLogExceptions || SvnUtil.isUnversionedOrNotFound(e) || // do not log working copy format vs client version inconsistencies as errors e.contains(ErrorCode.WC_UNSUPPORTED_FORMAT) || e.contains(ErrorCode.WC_UPGRADE_REQUIRED)) { LOG.debug(e); } else { LOG.error(e); } } | handleInfoException |
66,293 | WorkingCopyFormat (@NotNull File ioFile) { return getWorkingCopyFormat(ioFile, true); } | getWorkingCopyFormat |
66,294 | WorkingCopyFormat (@NotNull File ioFile, boolean useMapping) { WorkingCopyFormat format = WorkingCopyFormat.UNKNOWN; if (useMapping) { RootUrlInfo rootInfo = getSvnFileUrlMapping().getWcRootForFilePath(getFilePath(ioFile)); format = rootInfo != null ? rootInfo.getFormat() : WorkingCopyFormat.UNKNOWN; } return WorkingCo... | getWorkingCopyFormat |
66,295 | boolean (@NotNull FilePath filePath) { boolean isWcRoot = false; VirtualFile file = filePath.getVirtualFile(); WorkingCopy wcRoot = file != null ? RootsToWorkingCopies.getInstance(myProject).getWcRoot(file) : null; if (wcRoot != null) { isWcRoot = wcRoot.getFile().getAbsolutePath().equals(filePath.getPath()); } return ... | isWcRoot |
66,296 | FileStatus[] () { return new FileStatus[]{SvnFileStatus.EXTERNAL, SvnFileStatus.OBSTRUCTED, SvnFileStatus.REPLACED}; } | getProvidedStatuses |
66,297 | VcsRevisionNumber (final String revisionNumberString) { final Revision revision = Revision.parse(revisionNumberString); if (revision.equals(Revision.UNDEFINED)) { return null; } return new SvnRevisionNumber(revision); } | parseRevisionNumber |
66,298 | String () { return ourIntegerPattern; } | getRevisionPattern |
66,299 | boolean (final VirtualFile dir) { return SvnUtil.seemsLikeVersionedDir(dir); } | isVersionedDirectory |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.