(self: Etag)
| 60 | * @since 4.0.0 |
| 61 | */ |
| 62 | export const toString = (self: Etag): string => { |
| 63 | switch (self._tag) { |
| 64 | case "Weak": |
| 65 | return `W/"${self.value}"` |
| 66 | case "Strong": |
| 67 | return `"${self.value}"` |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * Service for generating ETags from filesystem file information or Web `File`-like metadata. |
nothing calls this directly
no outgoing calls
no test coverage detected