public Option <Stream> Read(ContentPath path) { var fsPath = path.GetFileSystemPath(rootDirectory); if (File.Exists(fsPath)) { return(File.OpenRead(fsPath)); } else { return(Option.None); } }
string GetFileSystemPath(ContentPath path) { return(path.GetFileSystemPath(rootDirectory)); }