diff options
Diffstat (limited to 'sched/src/com/android/sched/vfs/GenericInputVFS.java')
-rw-r--r-- | sched/src/com/android/sched/vfs/GenericInputVFS.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sched/src/com/android/sched/vfs/GenericInputVFS.java b/sched/src/com/android/sched/vfs/GenericInputVFS.java index e1e29c6..c34835d 100644 --- a/sched/src/com/android/sched/vfs/GenericInputVFS.java +++ b/sched/src/com/android/sched/vfs/GenericInputVFS.java @@ -62,4 +62,10 @@ public class GenericInputVFS extends AbstractVFS implements InputVFS { public String getDigest() { return vfs.getDigest(); } + + @SuppressWarnings({"unchecked", "rawtypes"}) + @Nonnull + public VPath getPathFromRoot(@Nonnull InputVFile file) { + return ((BaseVFS) vfs).getPathFromRoot((BaseVFile) ((GenericInputVFile) file).getVFile()); + } } |