Skip to content

Commit

Permalink
Merge pull request #333 from happo/deterministic-archive-type
Browse files Browse the repository at this point in the history
Add Buffer | ReadableStream to determinsticArchive arg type
  • Loading branch information
lencioni authored Feb 18, 2025
2 parents 2423f2e + 69c80c0 commit 8f8345b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deterministicArchive.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async function resolveFilesRecursive(...dirsAndFiles) {
* Creates a deterministic archive of the given files
*
* @param {string[]} dirsAndFiles
* @param {{name: string, content: string}[]} contentToArchive
* @param {{name: string, content: string | Buffer | ReadableStream}[]} contentToArchive
* @returns {Promise<{buffer: Buffer, hash: string}>}
*/
export default async function deterministicArchive(
Expand Down

0 comments on commit 8f8345b

Please sign in to comment.