safprobe

command
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2026 License: BSD-3-Clause Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command safprobe verifies what an app can actually do with a folder the user picked through dialog.ShowFolderOpen on Android — the Storage Access Framework path that #303 reported unusable.

It is scripted: on launch with no remembered folder it opens the picker straight away, and on the pick it runs the whole scaffold sequence and prints one "safprobe:" line per step. Relaunching it exercises the other half — the folder URI is remembered in preferences, so a second run that can still list it proves takePersistableUriPermission took (without the grant the list fails, which is what every pick did before #303).

Drive it with hack/safprobe/drive.sh; see that script for the adb flow.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL