public bool TryGetFileInfo(string subpath, out IFileInfo fileInfo) { if (InnerFileSystem.TryGetFileInfo(subpath, out fileInfo)) { return(true); } string defaultPath = System.IO.Path.Combine(InnerFileSystem.Root, Default); return(InnerFileSystem.TryGetFileInfo(defaultPath, out fileInfo)); }
public bool TryGetDirectoryContents(string subpath, out IEnumerable <IFileInfo> contents) { if (InnerFileSystem.TryGetDirectoryContents(subpath, out contents)) { return(true); } string defaultPath = System.IO.Path.Combine(InnerFileSystem.Root, Default); return(InnerFileSystem.TryGetDirectoryContents(defaultPath, out contents)); }