MCPcopy Create free account
hub / github.com/DingGuodong/LinuxBashShellScriptForOps / confirm

Function confirm

projects/LinuxSystemOps/Filesystem/du.py:56–91  ·  view source on GitHub ↗

Ask user a yes/no question and return their response as True or False. :parameter question: ``question`` should be a simple, grammatically complete question such as "Do you wish to continue?", and will have a string similar to " [Y/n] " appended automatically. This function wil

(question, default=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

du.pyFile · 0.70
get_hosts_listFunction · 0.50
load_commandFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected