internal LocalFileContent(LocalFile file, LocalFileSystem localFs) { LocalFile = file; LocalFs = localFs; try { LocalFileInfo = new FileInfo(LocalFile.LocalName); } catch (Exception ex) { throw new Exception( String.Format("Cannot retrieve file info ({0}): {1}", LocalFile.LocalName, ex.Message), ex); } }
public IFileObject ResolveFile(string name) { LocalFile file = new LocalFile(NormalizeLocalName(name), this); return(file); }