This is an implementation of an in-memory file-system + Web Service.
Problem asked during interviews with Coinbase
pip install -r requirements.txt
Support: features implemented
- mkdir: creates dir
- write_file: creates file
- read_file: read contents
- read_dir: list the contents of dir
Run ws.py and go to localhost:8000/docs
creates new dir or file
retrieves info about dir or file
verifies if the given path exists
deletes the given path if it's file or empty dir
