{"library":"rignore","code":"import rignore\nimport os\n\n# Create a dummy directory structure for demonstration\nos.makedirs('my_project/src', exist_ok=True)\nos.makedirs('my_project/build', exist_ok=True)\nwith open('my_project/.gitignore', 'w') as f:\n    f.write('*.tmp\\n')\n    f.write('/build/\\n')\nwith open('my_project/src/main.py', 'w') as f: pass\nwith open('my_project/src/temp.tmp', 'w') as f: pass\nwith open('my_project/build/output.log', 'w') as f: pass\n\nprint('Files found by rignore.walk:')\nfor file_path in rignore.walk('my_project'):\n    print(file_path)\n\n# Clean up (optional)\nimport shutil\nshutil.rmtree('my_project')","lang":"python","description":"This quickstart demonstrates how to use `rignore.walk` to traverse a directory while respecting a `.gitignore` file. It creates a temporary directory structure and then prints the paths of files not ignored.","tag":null,"tag_description":null,"last_tested":"2026-04-24","results":[{"runtime":"python:3.10-alpine","exit_code":0},{"runtime":"python:3.10-slim","exit_code":0},{"runtime":"python:3.11-alpine","exit_code":0},{"runtime":"python:3.11-slim","exit_code":0},{"runtime":"python:3.12-alpine","exit_code":0},{"runtime":"python:3.12-slim","exit_code":0},{"runtime":"python:3.13-alpine","exit_code":0},{"runtime":"python:3.13-slim","exit_code":0},{"runtime":"python:3.9-alpine","exit_code":0},{"runtime":"python:3.9-slim","exit_code":0}]}