juliangruber / juliangruber/level-store

hash the file

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
74
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Keep a hash of the stream, when completed.

As the stream is uploaded, you'll build a hash, and then save it when the stream ends.

Could save it as `filename HASH` which would sort after all the regular chunks.

You could also store the size etc, and then query that easily.

hmm - what about storing the hashes is a separate section (prefix) so that you can easily query what files the store has, and their hashes?

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by locating the stream-upload completion path and the LevelDB storage layout, then determine how hashes and file metadata should be indexed. Done means completed uploads have queryable hashes and metadata without disrupting regular chunks, with tests covering the chosen layout.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.