@Deprecated
    public static String getSitePath(CmsObject cms, String basePath, String targetUri) {

        return OpenCms.getLinkManager().getRootPath(cms, targetUri, basePath);
    }
@ Deprecated public static String getSitePath ( CmsObject cms , String basePath , String targetUri ) { return OpenCms . getLinkManager ( ) . getRootPath ( cms , targetUri , basePath ) ; }
Returns the resource root path for the given target URI in the OpenCms VFS, or <code>null</code> in
case the target URI points to an external site.<p>

@param cms the current users OpenCms context
@param basePath path to use as base site for the target URI (can be <code>null</code>)
@param targetUri the target URI

@return the resource root path for the given target URI in the OpenCms VFS, or <code>null</code> in
case the target URI points to an external site

@deprecated use {@link #getRootPath(CmsObject, String, String)} instead, obtain the link manager
with {@link OpenCms#getLinkManager()}