acmpesuecc / pasta

a pastebin written in go
https://polarhive.net/pasta
GNU General Public License v3.0
0 stars 5 forks source link

i changed the main.go file #9

Closed unrelatedchase34 closed 1 month ago

unrelatedchase34 commented 1 month ago

Compute Hash of File Data: When a new file is uploaded, calculate its hash. Check for Existing File with Same Hash: If a file with the same hash exists, reuse that file instead of creating a new one. Hash-Based Directory: Store files in a hash-based directory structure (e.g., by using the first few characters of the hash as directories) for better organization.

bunsamosa-bot[bot] commented 1 month ago

Thank you from Opening this Pull Request, @unrelatedchase34 ! A Maintainer will review it soon!

polarhive commented 1 month ago

!bounty 45

bunsamosa-bot[bot] commented 1 month ago

Assigned 45 Bounty points to user @unrelatedchase34 !