public class PerforceWhereCommand extends Object
getDepotLocation(String path) to query
 the depot location for a particular file.  The data from p4 where looks like this:
 
 p4 where pom.xml //depot/modules/fabric/trunk/pom.xml //mikeperham-dt/depot/modules/fabric/trunk/pom.xml d:\perforce\depot\modules\fabric\trunk\pom.xml
| Constructor and Description | 
|---|
PerforceWhereCommand(ScmLogger log,
                                        PerforceScmProviderRepository repos)  | 
public PerforceWhereCommand(ScmLogger log, PerforceScmProviderRepository repos)
public String getDepotLocation(File file)
public String getDepotLocation(String filepath)
filepath - an absolute file pathCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.