Ejemplo n.º 1
0
    static Task VerifyInner(string path)
    {
        var directory = Path.Combine(AssemblyLocation.CurrentDirectory, path);
        var hash      = GitHashReader.GetHashForGitDirectory(directory);

        return(Verifier.Verify(hash));
    }
    static void Verify(string path)
    {
        var directory = Path.Combine(AssemblyLocation.CurrentDirectory, path);
        var hash      = GitHashReader.GetHashForGitDirectory(directory);

        Approvals.Verify(hash);
    }