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());
        }
Example #2
0
        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("//", "/"));
        }