7 comments (7 comments)0 reactions (0 reactions)1 assignee (1 assignee)C++10,782 forks (10,782 forks)batch import
filesystemgood first issuelibc++
Repository metrics
- Stars
- 26,378 stars (26,378 stars)
- PR merge metrics
- Avg merge 1d 2h (Avg merge 1d 2h)1,000 merged PRs in 30d (1,000 merged PRs in 30d)
Description
Per fs.op.canonical, !exists(p) is an error. However, calling canonical("") returns the current path instead of raising an exception.
Tested with Apple clang version 15.0.0 (clang-1500.1.0.2.5) and -std=c++17.
Contributor guide
- Research direction
- Investigate the implementation of `std::filesystem::canonical` in libc++ and ensure an exception is thrown for empty path per the standard.
- Tech stack
- cpp
- Domain
- api
- Issue type
- Bug
- Prerequisites
- C++