## Index

### Variables

- decoder
- encoder

### Functions

- entitytag
- etag
- isstats
- stattag

## Variables

### Const decoder

decoder: TextDecoder = new TextDecoder()

- Defined in home/runner/work/opine/opine/src/utils/etag.ts:34

### Const encoder

encoder: TextEncoder = new TextEncoder()

- Defined in home/runner/work/opine/opine/src/utils/etag.ts:33

## Functions

### Private entitytag

- entitytag(entity: any): string

- - Defined in home/runner/work/opine/opine/src/utils/etag.ts:43

  Generate an entity tag.

  #### Parameters

  - ##### entity: any

  #### Returns string

### etag

- etag(entity: string | Uint8Array | Deno.FileInfo, options: any): string

- - Defined in home/runner/work/opine/opine/src/utils/etag.ts:106

  Create a simple ETag.

  #### Parameters

  - ##### entity: string | Uint8Array | Deno.FileInfo

  - ##### options: any

  #### Returns string

### Private isstats

- isstats(obj: any): boolean

- - Defined in home/runner/work/opine/opine/src/utils/etag.ts:74

  Determine if object is a Stats object.

  #### Parameters

  - ##### obj: any

  #### Returns boolean

### Private stattag

- stattag(stat: Deno.FileInfo): string

- - Defined in home/runner/work/opine/opine/src/utils/etag.ts:90

  Generate a tag for a stat.

  #### Parameters

  - ##### stat: Deno.FileInfo

  #### Returns string

Generated using TypeDoc