Skip to content

stdlib: cleanup @std/fs (renaming/removing APIs)#606

Merged
annieetang merged 3 commits intoprimaryfrom
annietang/cleanup_std_fs
Nov 20, 2025
Merged

stdlib: cleanup @std/fs (renaming/removing APIs)#606
annieetang merged 3 commits intoprimaryfrom
annietang/cleanup_std_fs

Conversation

@annieetang
Copy link
Copy Markdown
Contributor

As part of the API audit/cleanup, we are fixing @std/fs APIs.

This is mostly renaming and removing unnecessary functions, gonna leave fs.watch to be its separate PR

Parallel changes to @lute/fs will be in a subsequent PR after we've agreed on how @std should look like

@annieetang annieetang changed the title stdlib: cleanup @std/fs (renaming) stdlib: cleanup @std/fs (renaming APIs) Nov 20, 2025
@annieetang annieetang changed the title stdlib: cleanup @std/fs (renaming APIs) stdlib: cleanup @std/fs (renaming/removing APIs) Nov 20, 2025
@annieetang annieetang requested a review from aatxe November 20, 2025 22:43
export type watchevent = fs.WatchEvent
export type pathlike = pathlib.pathlike

type pathlike = pathlib.pathlike
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

an aside, but we should really name this type path if it's the one everyone is writing everywhere.

@annieetang annieetang merged commit 668b6c1 into primary Nov 20, 2025
11 checks passed
@annieetang annieetang deleted the annietang/cleanup_std_fs branch November 20, 2025 22:51
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.

3 participants