public static async Task <string> ToRRemotePathAsync(this IRProjectProperties properties, string projectRelativeFilePath) { string remotePath = await properties.GetRemoteProjectPathAsync(); string projectName = properties.GetProjectName(); return((remotePath + projectName + "/" + projectRelativeFilePath).ToRPath()); }
public static async Task <string> ToRRemotePathAsync(this IRProjectProperties properties, string projectRelativeFilePath) { string remotePath = await properties.GetRemoteProjectPathAsync(); string projectName = properties.GetProjectName(); return(($"{remotePath}/{projectName}/{projectRelativeFilePath}").ToRPath().Replace("//", "/")); }