Skip to content

refactor: make RootShell.isRooted() a suspend function#7

Merged
primalkz merged 1 commit intoAkuaTech:masterfrom
sidharthify:master
Apr 7, 2026
Merged

refactor: make RootShell.isRooted() a suspend function#7
primalkz merged 1 commit intoAkuaTech:masterfrom
sidharthify:master

Conversation

@sidharthify
Copy link
Copy Markdown
Contributor

Aligns RootShell.isRooted() with the other shell helper methods by making it a suspend function that handles its own context switching to Dispatchers.IO.

Aligns `RootShell.isRooted()` with the other shell helper methods
by making it a suspend function that handles its own context
switching to `Dispatchers.IO`.

Signed-off-by: sidharthify <wednisegit@gmail.com>
@primalkz
Copy link
Copy Markdown
Member

primalkz commented Apr 7, 2026

nice much safer doing the io stuff inside the func itself. lgtm

@primalkz primalkz merged commit bd82fc1 into AkuaTech:master Apr 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants