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