original_docstring: cleanup for lock driven numbered directories
docstring: cleanup for lock driven numbered directories
docstring_tokens: cleanup for lock driven numbered directories
code: def cleanup_numbered_dir(root, prefix, keep, consider_lock_dead_if_created_before):
      """cleanup for lock driven numbered directories"""
      for path in cleanup_candidates(root, prefix, keep):
          try_cleanup(path, consider_lock_dead_if_created_before)
      for path in root.glob("garbage-*"):
          try_cleanup(path, consider_lock_dead_if_created_before)
code_tokens: def cleanup_numbered_dir ( root , prefix , keep , consider_lock_dead_if_created_before ) : for path in cleanup_candidates ( root , prefix , keep ) : try_cleanup ( path , consider_lock_dead_if_created_before ) for path in root . glob ( "garbage-*" ) : try_cleanup ( path , consider_lock_dead_if_created_before )
short_docstring: cleanup for lock driven numbered directories
short_docstring_tokens: cleanup for lock driven numbered directories
comment: """cleanup for lock driven numbered directories"""