GetFullPath now uses ShadowFileSystem.

This commit is contained in:
Claus
2017-02-09 13:36:56 +01:00
parent 9b7f459c44
commit f24fd42a69
2 changed files with 29 additions and 0 deletions

View File

@@ -245,6 +245,9 @@ namespace Umbraco.Core.IO
public string GetFullPath(string path)
{
ShadowNode sf;
if (Nodes.TryGetValue(NormPath(path), out sf))
return sf.IsDir || sf.IsDelete ? null : _sfs.GetFullPath(path);
return _fs.GetFullPath(path);
}