MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / get_files

Method get_files

tools/system_libs.py:2069–2088  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2067 return super().get_default_variation(ignore_case=settings.CASE_INSENSITIVE_FS, **kwargs)
2068
2069 def get_files(self):
2070 backends = files_in_path(
2071 path='system/lib/wasmfs/backends',
2072 filenames=['fetch_backend.cpp',
2073 'ignore_case_backend.cpp',
2074 'js_file_backend.cpp',
2075 'memory_backend.cpp',
2076 'node_backend.cpp',
2077 'opfs_backend.cpp'])
2078 return backends + files_in_path(
2079 path='system/lib/wasmfs',
2080 filenames=['file.cpp',
2081 'file_table.cpp',
2082 'js_api.cpp',
2083 'emscripten.cpp',
2084 'paths.cpp',
2085 'special_files.cpp',
2086 'support.cpp',
2087 'syscalls.cpp',
2088 'wasmfs.cpp'])
2089
2090 def can_use(self):
2091 return settings.WASMFS

Callers

nothing calls this directly

Calls 1

files_in_pathFunction · 0.85

Tested by

no test coverage detected