function calculateimport { calculate } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/etag.ts?s=calculate";calculate(entity: string | Uint8Array | FileInfo, options?: ETagOptions): Promise<string>Calculate an ETag value for an entity. If the entity is FileInfo, then the tag will default to a weak ETag. options.weak overrides any default behavior in generating the tag. Parametersentity: string | Uint8Array | FileInfo[src]A string, Uint8Array, or file info to use to generate the ETag optionaloptions: ETagOptions[src]ReturnsPromise<string>[src]