Skip to content

docs(path): add examples to @std/path/posix examples - #5371

Merged
iuioiua merged 3 commits into
mainfrom
path-url-docs
Jul 24, 2024
Merged

iuioiua merged 3 commits into
mainfrom
path-url-docs

Conversation

@iuioiua

@iuioiua iuioiua commented Jul 10, 2024 •

Copy link
Copy Markdown
Contributor

This documentation aims at providing sufficient guidance to justify removing @std/url.

Pre-requisite for #5530
Addresses #4992 (review)

@github-actions github-actions Bot added the path label Jul 10, 2024
@codecov

codecov Bot commented Jul 10, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.39%. Comparing base (2e542ff) to head (a7de3fa).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5371   +/-   ##
=======================================
  Coverage   96.39%   96.39%           
=======================================
  Files         465      465           
  Lines       37757    37757           
  Branches     5579     5579           
=======================================
  Hits        36397    36397           
  Misses       1318     1318           
  Partials       42       42           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@iuioiua
iuioiua marked this pull request as ready for review July 24, 2024 01:10
@iuioiua
iuioiua requested a review from kt3k as a code owner July 24, 2024 01:10

@kt3k kt3k left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@kt3k

kt3k commented Jul 24, 2024

Copy link
Copy Markdown
Contributor

I think we should also explore the idea (from @lucacasonato ) of making some of path APIs directly accept file URL object and file URL strings like some of FS APIs in Deno CLI:

dirname("file:///path/to/dir/file"); //=> returns `/path/to/dir` on linux
dirname("file:///C:/path/to/dir/file"); // => returns `C:\path\to\dir` on windows

I think this mostly covers the motivation of std/url

@iuioiua

iuioiua commented Jul 24, 2024

Copy link
Copy Markdown
Contributor Author

Let's explore in a separate issue 🙂

@iuioiua
iuioiua merged commit d8592d1 into main Jul 24, 2024
@iuioiua
iuioiua deleted the path-url-docs branch July 24, 2024 06:14
@kt3k

kt3k commented Jul 24, 2024

Copy link
Copy Markdown
Contributor

created #5537

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants