Skip to content

Commit 54ca76a

Browse files
committed
docs: update dir_context to include uri_utils and gnome metadata helpers
Documents additions to GIO bridge for URI translation and GNOME-specific MIME generation.
1 parent 814e2ee commit 54ca76a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

core/gio_bridge/dir_context.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,16 @@ API:
7474
- [get_volumes()](./volumes.py#L73) -> list: Aggregates volumes and active mounts.
7575
- [mount_volume()](./volumes.py#L121)(identifier): Async mount request.
7676
- [unmount_volume()](./volumes.py#L134)(identifier): Async unmount request.
77+
### [FILE: [uri_utils.py](./uri_utils.py)] [DONE]
78+
Role: Robust string-to-QUrl translation and GNOME-specific MIME payload generation.
79+
80+
/DNA/: [path_or_uri -> to_qurl() -> [:// ? QUrl(u) : QUrl.fromLocalFile(p)]]
81+
82+
- SrcDeps: None
83+
- SysDeps: PySide6.QtCore.QUrl
84+
85+
API:
86+
- [to_qurl()](./uri_utils.py#L3) -> QUrl: Safe translation for hybrid paths.
87+
- [build_gnome_copied_files()](./uri_utils.py#L9) -> str: Payload for x-special/gnome-copied-files.
88+
7789
!Caveat: Usage stats are lazily loaded and cached; first call returns null/loading.

0 commit comments

Comments
 (0)