S3Aliases.

GetFileHash(ICakeContext, FilePath) Method

Summary

Gets the hash of a file
Assembly
Cake.AWS.S3.dll
Namespace
Cake.AWS.S3
Containing Type
S3Aliases

Syntax

public static string GetFileHash(this ICakeContext context, FilePath path)

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The cake context.
path FilePath The path to the file to calulate the hash from.

Return Value

Type Description
string