VCS: vcs dirty scope manager to use application-level vfs listener and check what...
[fedora-idea.git] / vcs-impl / src / com / intellij / openapi / vcs / changes / FilePathUnderVcs.java
blob9e50a897b2d729ea5e947e0f1bcb0b8f92c290a1
1 package com.intellij.openapi.vcs.changes;
3 import com.intellij.openapi.vcs.FilePath;
4 import com.intellij.openapi.vcs.AbstractVcs;
5 import com.intellij.openapi.vcs.VcsRoot;
6 import com.intellij.openapi.vcs.FilePathImpl;
8 public class FilePathUnderVcs {
9 private final FilePath myPath;
10 private final AbstractVcs myVcs;
12 public FilePathUnderVcs(final FilePath path, final AbstractVcs vcs) {
13 myPath = path;
14 myVcs = vcs;
17 FilePathUnderVcs(final VcsRoot root) {
18 myPath = new FilePathImpl(root.path);
19 myVcs = root.vcs;
22 public FilePath getPath() {
23 return myPath;
26 public AbstractVcs getVcs() {
27 return myVcs;