This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
forgejo
mirror of
Watch
1
Fork
You've already forked forgejo
0
Code
Issues
Releases
Activity
49119d06d1
Branches
Tags
No results found.
forgejo
/
web_src
/
js
/
utils
/
url.js
4 lines
99 B
JavaScript
Raw
Blame
History
export
function
pathEscapeSegments
(
s
)
{
return
s
.
split
(
'/'
)
.
map
(
encodeURIComponent
)
.
join
(
'/'
)
;
}
Reference in New Issue
View Git Blame
Copy Permalink