Skip to content

Commit

Permalink
refactor: Remove unused function singleChunkToIpldPbDag
Browse files Browse the repository at this point in the history
  • Loading branch information
clostao committed Sep 12, 2024
1 parent de71b80 commit d9ff813
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/auto-drive/src/fileChunker/chunker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ import { chunkBuffer } from './utils.js'

const MAX_CHUNK_SIZE = 1024 * 64

const singleChunkToIpldPbDag = (chunk: Buffer) => {
return createNode(chunk, [])
}

export interface IPLDDag {
headCID: CID
nodes: Map<CID, PBNode>
Expand Down

0 comments on commit d9ff813

Please sign in to comment.