Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ byString
Function
byString
npm_modules/cli/src/utils/byString.ts:1–3 ·
view source on GitHub ↗
(selector: (v: T) => string)
Source
from the content-addressed store, hash-verified
1
export
function
byString<T>(selector: (v: T) => string): (l: T, r: T) => number {
2
return
(l, r) => selector(l).localeCompare(selector(r));
3
}
Callers
2
buildProjectSyncs
Function · 0.90
collectTsConfigDirs
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected