Skip to content

Commit 820eba1

Browse files
committed
added clarification
1 parent 3655dc3 commit 820eba1

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docs/volumes.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebarTitle: Overview
55

66
Volumes provide persistent storage that exists independently of sandbox lifecycles. Data written to a volume persists even after a sandbox is shut down, and volumes can be mounted to multiple sandboxes over time.
77

8-
### One volume shared across multiple sandboxes
8+
**One volume shared across multiple sandboxes**
99

1010
```mermaid
1111
graph LR
@@ -14,14 +14,16 @@ graph LR
1414
V1 --- S3[Sandbox 3]
1515
```
1616

17-
### Each sandbox with its own volume
17+
**Each sandbox with its own volume**
1818

1919
```mermaid
2020
graph LR
2121
V2[Volume A] --- S4[Sandbox 1]
2222
V3[Volume B] --- S5[Sandbox 2]
2323
```
2424

25+
When a volume is mounted to a sandbox, files can be read and written directly at the mount path. The SDK methods are meant to be used when the volume is not mounted to any sandbox.
26+
2527
With E2B SDK you can:
2628
- [Read and write files to a volume.](/docs/volumes/read-write)
2729
- [Get file and directory metadata.](/docs/volumes/info)

0 commit comments

Comments
 (0)