MCPcopy Create free account
hub / github.com/FunAudioLLM/ThinkSound / keyword_scandir

Function keyword_scandir

ThinkSound/data/dataset.py:58–94  ·  view source on GitHub ↗

very fast `glob` alternative. from https://stackoverflow.com/a/59803793/4259243

(
    dir: str,  # top-level directory at which to begin scanning
    ext: list,  # list of allowed file extensions
    keywords: list,  # list of keywords to search for in the file name
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

get_audio_filenamesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected