Loading...
Loading...
Compare original and translation side by side
packages/opencodepackages/opencodeBun.file(path)textjsonstreamarrayBufferbytesexistsfile.sizefile.typefile.nameBun.write(dest, input)Bun.file(...).delete()file.writer()Bun.GlobArray.fromAsync(glob.scan({ cwd, absolute, onlyFiles, dot }))Bun.whichBun.spawnBun.readableStreamToText/Bytes/JSONBun.file(path)textjsonstreamarrayBufferbytesexistsfile.sizefile.typefile.nameBun.write(dest, input)Bun.file(...).delete()file.writer()Bun.GlobArray.fromAsync(glob.scan({ cwd, absolute, onlyFiles, dot }))Bun.whichBun.spawnBun.readableStreamToText/Bytes/JSONnode:fs/promisesmkdirreaddirmkdirreaddirnode:fs/promisesfsBun.file(...).exists()arrayBuffer()file.typeBun.GlobArray.fromAsyncBun.readableStreamToTextBun.write(Bun.file(path), text)fsBun.file(...).exists()arrayBuffer()file.typeBun.GlobArray.fromAsyncBun.readableStreamToTextBun.write(Bun.file(path), text)path.joinpath.resolve.catch(...)try/catchpath.joinpath.resolve.catch(...)try/catch