aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/github.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-20 14:55:32 +0900
committernsfisis <nsfisis@gmail.com>2026-06-20 15:08:49 +0900
commitf6dd10ff812c445fe738b0feaf8e84e827ca8f9f (patch)
tree1983147524370eb8bd2b81f2d14001a8f9b227ac /crates/shirabe/src/util/github.rs
parent8313c66b5b07e7b8af8db8faa044a0b3a1783fa1 (diff)
downloadphp-shirabe-f6dd10ff812c445fe738b0feaf8e84e827ca8f9f.tar.gz
php-shirabe-f6dd10ff812c445fe738b0feaf8e84e827ca8f9f.tar.zst
php-shirabe-f6dd10ff812c445fe738b0feaf8e84e827ca8f9f.zip
feat(php-shim): implement single-component pathinfo
Was a todo!() that panicked in Factory::get_lock_file (require, and the file/gzip downloaders). Handles the four PATHINFO_* single-component options by reusing dirname/basename, computing extension and filename around the last dot of the basename. Verified against PHP for eight representative paths, including dotfiles and trailing-dot names. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/util/github.rs')
0 files changed, 0 insertions, 0 deletions