hunk.code_window: async function createShasum(dirPath: string) {
     try {
       const shasum = await dirsum(dirPath)
       await fs.writeFile(`${dirPath}_shasum`, shasum, 'utf8')
     } catch (err) {
       logger.error({
         message: `Failed to calculate shasum for ${dirPath}`,
         err,
       })
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:     await writeFileAtomic(`${dirPath}_shasum`, shasum, 'utf8')
  
hunk.file_path: src/install/fetch.ts
hunk.type: replace
file: # Logs
  logs
  *.log
  npm-debug.log*
  
  # Dependency directory
  node_modules
  
  # Coverage directory used by tools like istanbul
  coverage
  
  fixtures
  .tmp
  _docpress
  
  lib
  
  # Visual Studio Code configs
  .vscode/
  