Implemented interface member:
property
FullPath
Microsoft.TemplateEngine.Abstractions.Mount.IFileSystemInfo.FullPath
1 write to FullPath
Microsoft.TemplateEngine.Edge (1)
Mount\FileSystemInfoBase.cs (1)
14FullPath = fullPath.Replace('\\', '/');
16 references to FullPath
Microsoft.TemplateEngine.Edge (16)
Mount\Archive\ZipFileDirectory.cs (4)
19public override bool Exists => _mountPoint.Universe.ContainsKey(FullPath); 26return _mountPoint.Universe.Values.Where(x => x.FullPath.StartsWith(FullPath, StringComparison.Ordinal) && x.FullPath.Length != FullPath.Length && r.IsMatch(x.Name)).Where(x => searchOption == SearchOption.AllDirectories || x.FullPath.TrimEnd('/').Count(y => y == '/') == FullPath.Count(y => y == '/'));
Mount\Archive\ZipFileFile.cs (5)
21public override bool Exists => _entry != null || (_mountPoint.Universe.TryGetValue(FullPath, out var info) && info.Kind == FileSystemInfoKind.File); 27if (!_mountPoint.Universe.TryGetValue(FullPath, out var info) || info.Kind != FileSystemInfoKind.File || !info.Exists) 29throw new FileNotFoundException("File not found", FullPath); 33throw new FileNotFoundException("File not found", FullPath); 38throw new FileNotFoundException("File not found", FullPath);
Mount\FileSystemInfoBase.cs (7)
30if (string.Equals(FullPath, "/", StringComparison.Ordinal)) 35if (string.Equals(FullPath, $"/{Name}", StringComparison.Ordinal)) 42if (FullPath == "/" || FullPath.Length < 2) 47int lastSlash = FullPath.LastIndexOf('/', FullPath.Length - 2); 54string parentPath = FullPath.Substring(0, lastSlash + 1);