> Every page of the ganymede website is listed in https://eugo.io/docs/ganymede/llms.txt.

# DictFs

> DictFS is a nested dictionary-based, in-memory filesystem and acts more like a real LocalFileSystem.

Web page: https://eugo.io/docs/ganymede/demo_notebooks/data_storage/filesystems/fsspec/dictfs/
Notebook: https://eugo.io/docs/ganymede/demo_notebooks/data_storage/filesystems/fsspec/dictfs/dictfs.ipynb (source: https://github.com/eugo-inc/ganymede/blob/main/demo_notebooks/data_storage/filesystems/fsspec/dictfs.ipynb)

Description:
- DictFS is a nested dictionary-based, in-memory filesystem and acts more like a real LocalFileSystem.

Resources:
- [GitHub] https://github.com/iterative/morefs/blob/main/src/morefs/dict.py

## Example 1

Create a dir and a text file and put text in the file and check to see what's in it

```python
from morefs.dict import DictFS

dfs = DictFS()

# Create a dir and define files to be created
fp = "/tmp/ganymede_demo"
dfs.makedirs(fp)
test_fp1 = f"{fp}/test1.txt"
dfs.touch(test_fp1)

dfs.pipe_file(test_fp1, b"contents")
dfs.info(test_fp1)
```
