MCPcopy Create free account
hub / github.com/MearaY/StegaPy / _ask_dir

Function _ask_dir

cli.py:255–259  ·  view source on GitHub ↗
(msg: str)

Source from the content-addressed store, hash-verified

253 return path
254
255 def _ask_dir(msg: str) -> str:
256 path = questionary.path(msg, only_directories=True).ask()
257 if path is None:
258 raise KeyboardInterrupt
259 return path.strip() or "."
260
261 def _ask_password(required: bool = False) -> str:
262 hint = "密码(必填)" if required else "密码(留空则不加密)"

Callers 1

run_interactiveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected