Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: PathRef improvements and drop deno_std fs & path re-exports #171

Merged
merged 3 commits into from
Sep 8, 2023

Conversation

dsherret
Copy link
Owner

@dsherret dsherret commented Aug 14, 2023

PathRef:

  • startsWith(path: PathRef | URL | string): boolean
  • endsWith(path: PathRef | URL | string): boolean
  • components(): Generator<string>
  • ensureDir(): Promise<this>
  • ensureDirSync(): this
  • ensureFile(): Promise<this>
  • ensureFileSync(): this

Removes $.fs and $.path re-exports of deno_std.

Closes #126
Closes #106

Part of #105

@dsherret dsherret marked this pull request as draft August 14, 2023 16:06
@dsherret dsherret changed the title feat: PathRef improvements feat: PathRef improvements and drop deno_std fs/path re-export Sep 8, 2023
@dsherret dsherret changed the title feat: PathRef improvements and drop deno_std fs/path re-export feat: PathRef improvements and drop deno_std fs & path re-exports Sep 8, 2023
@dsherret dsherret marked this pull request as ready for review September 8, 2023 21:17
@dsherret dsherret merged commit 245bcbb into main Sep 8, 2023
4 checks passed
@dsherret dsherret deleted the feat_path_improvements branch September 8, 2023 21:18
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.

Replace fs and path exports with PathRef functionality
1 participant