You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently only Read and Write functionality are there in memoria. This issue implements a new feature of Erase which is as simple as it sounds just remove the key, value pair.
Yes just simply remove the file form file system using the os package! remember to remove all the directories in the PathKey for the key.
This problem is marked Easy for the naive implementation i.e no error handling. with proper error handling you get points for Medium
NOTE : always lock the mutex and defer unlock the mutex when doing any file i/o in memoria
The text was updated successfully, but these errors were encountered:
0xnullifier
added
enhancement
New feature or request
easy
This easy solve this if you are a beginner!
medium
Oh you have some experience with programming huh! Come on solve this then
labels
Dec 15, 2024
0xnullifier
changed the title
Implement db.Erase() for memoria.
Implement db.Erase(Key) for memoria.
Dec 15, 2024
Currently only
Read
andWrite
functionality are there in memoria. This issue implements a new feature ofErase
which is as simple as it sounds just remove the key, value pair.Yes just simply remove the file form file system using the
os
package! remember to remove all the directories in thePathKey
for thekey
.This problem is marked Easy for the naive implementation i.e no error handling. with proper error handling you get points for Medium
NOTE : always lock the mutex and defer unlock the mutex when doing any file i/o in memoria
The text was updated successfully, but these errors were encountered: