/// <summary> /// Writes the SHA1 file signature for this file. /// </summary> /// <param name="signature">The signature to write.</param> public void CreateOrUpdateSignatureFile(SHA1Value signature) { File.WriteAllText(_signatureFile, signature.ToString()); }
/// <summary> /// Writes a SHA1 signature for this directory. /// </summary> /// <param name="signature">The signature to write.</param> public void CreateOrUpdateSignatureFile(SHA1Value signature) { File.WriteAllText(Path.AppendPart(SignatureFileName), signature.ToString()); }