ipfs/helia-http-gateway

debugging: fs.ls directory contents for more debugging information

Closed this issue · 1 comments

const path = this.sanitizeUrlPath(`${directoryPath}/${file}`)
this.log('Trying to get root file:', { file, directoryPath })
const stats = await this.fs.stat(cid, { path })

came up during https://pl-strflt.notion.site/2023-10-26-Helia-Working-Group-ac880b0ddb244f64bb224367167e2ad7?pvs=4

this is solved.