(str: string, length: number)
| 16 | |
| 17 | /** Creates an MD5 hash and truncates it to the given length. */ |
| 18 | export function simpleHash(str: string, length: number): string { |
| 19 | return md5Hash(str).substring(0, length); |
| 20 | } |
| 21 | |
| 22 | // Based on https://github.com/gatsbyjs/gatsby/pull/21518/files |
| 23 | /** |
no test coverage detected
searching dependent graphs…