Skip to content

[FS] Remove unused legacy FS.findObject function - #27764

Merged
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:remove_FS_findObject
Sep 22, 2026
Merged

sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:remove_FS_findObject

Conversation

@sbc100

@sbc100 sbc100 commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator

FS.findObject is an undocumented legacy v1 compatibility wrapper around FS.analyzePath that has had no internal callers since #19310 (except for FS.analyzePath itself in WasmFS).

Inline the _wasmfs_identify check directly into FS.analyzePath in libwasmfs.js and remove FS.findObject from both libfs.js and libwasmfs.js.

`FS.findObject` is an undocumented legacy v1 compatibility wrapper
around `FS.analyzePath` that has had no internal callers since emscripten-core#19310
(except for `FS.analyzePath` itself in WasmFS).

Inline the `_wasmfs_identify` check directly into `FS.analyzePath` in
`libwasmfs.js` and remove `FS.findObject` from both `libfs.js` and
`libwasmfs.js`.
@sbc100
sbc100 merged commit 4589b41 into emscripten-core:main Sep 22, 2026
42 checks passed
@sbc100
sbc100 deleted the remove_FS_findObject branch September 22, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants