2 writes to _root
Microsoft.TemplateEngine.Utils (2)
InMemoryFileSystem.cs (2)
22_root = new FileSystemDirectory(Path.GetFileName(root.TrimEnd('/', '\\')), root); 26_root = new FileSystemDirectory(Path.GetFileName(newRoot.TrimEnd('/', '\\')), newRoot);
30 references to _root
Microsoft.TemplateEngine.Utils (30)
InMemoryFileSystem.cs (30)
39string rel = path.Substring(_root.FullPath.Length).Trim('/', '\\'); 47FileSystemDirectory currentDir = _root; 69string rel = path.Substring(_root.FullPath.Length).Trim('/', '\\'); 71FileSystemDirectory currentDir = _root; 104string rel = path.Substring(_root.FullPath.Length).Trim('/', '\\'); 112FileSystemDirectory currentDir = _root; 142string rel = directory.Substring(_root.FullPath.Length).Trim('/', '\\'); 150FileSystemDirectory currentDir = _root; 179string rel = path.Substring(_root.FullPath.Length).Trim('/', '\\'); 180FileSystemDirectory currentDir = _root; 259string rel = path.Substring(_root.FullPath.Length).Trim('/', '\\'); 260FileSystemDirectory currentDir = _root; 341string rel = directoryName.Substring(_root.FullPath.Length).Trim('/', '\\'); 342FileSystemDirectory currentDir = _root; 443string rel = path.Substring(_root.FullPath.Length).Trim('/', '\\'); 445FileSystemDirectory currentDir = _root; 469string rel = file.Substring(_root.FullPath.Length).Trim('/', '\\'); 471FileSystemDirectory currentDir = _root; 499string rel = path.Substring(_root.FullPath.Length).Trim('/', '\\'); 501FileSystemDirectory currentDir = _root; 557string rel = file.Substring(_root.FullPath.Length).Trim('/', '\\'); 559FileSystemDirectory currentDir = _root; 589string rel = file.Substring(_root.FullPath.Length).Trim('/', '\\'); 591FileSystemDirectory currentDir = _root; 620string rel = file.Substring(_root.FullPath.Length).Trim('/', '\\'); 622FileSystemDirectory currentDir = _root; 651string rel = file.Substring(_root.FullPath.Length).Trim('/', '\\'); 653FileSystemDirectory currentDir = _root; 743if (processedPath.Equals(_root.FullPath) || processedPath.StartsWith(_root.FullPath.TrimEnd('/', '\\') + Path.DirectorySeparatorChar))