Skip to main content
Ctrl+K

barecat

  • Getting Started
  • Working with Image Datasets
  • How to Automatically Encode and Decode Files
  • How to Convert Archives
  • How to Merge Archives
    • How to Use with PyTorch DataLoader
    • How to Mount with FUSE
    • How to Set Up Shell Completions
    • How to Verify and Repair Archives
    • Command Line Interface
    • Python API Reference
    • File Format Specification
    • Architecture
    • Integrity Checking
    • Comparison with Other Formats
    • Performance Characteristics
  • GitHub
  • Getting Started
  • Working with Image Datasets
  • How to Automatically Encode and Decode Files
  • How to Convert Archives
  • How to Merge Archives
  • How to Use with PyTorch DataLoader
  • How to Mount with FUSE
  • How to Set Up Shell Completions
  • How to Verify and Repair Archives
  • Command Line Interface
  • Python API Reference
  • File Format Specification
  • Architecture
  • Integrity Checking
  • Comparison with Other Formats
  • Performance Characteristics
  • GitHub

Section Navigation

  • scandir

scandir#

barecat._api.Barecat.scandir(path)[source]#

Iterate over all immediate files and subdirectories of the given directory, as barecat.BarecatEntryInfo objects.

Parameters:

path (str) – Path to the directory within the archive.

Returns:

An iterator over members of the directory, as barecat.BarecatEntryInfo objects.

Return type:

Iterator[BarecatEntryInfo]

© Copyright 2026, István Sárándi.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.16.1.