public void GetFileHash_ReturnHash() { Provider.RootDirectory.CreateFile("File1.ext", ""); var fileHash = Provider.GetFileHash("/File1.ext"); Assert.That(fileHash, Is.Not.Null); }
public string fileHash(IVirtualPathProvider vfs, string virtualPath) => vfs.GetFileHash(virtualPath);
public static string GetFileHash(this IVirtualPathProvider vpp, string virtualPath) { return(vpp.GetFileHash(virtualPath, new[] { virtualPath })); }