Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/FabricMC/Matcher
/ getSanitizedFileName
Method
getSanitizedFileName
src/main/java/matcher/type/InputFile.java:110–112 ·
view source on GitHub ↗
(Path path)
Source
from the content-addressed store, hash-verified
108
}
109
110
private
static
String getSanitizedFileName(Path path) {
111
return
path.getFileName().toString().replace(
'\n'
,
' '
);
112
}
113
114
public
enum HashType {
115
SHA1(
"SHA-1"
),
Callers
2
InputFile
Method · 0.95
equals
Method · 0.95
Calls
1
toString
Method · 0.45
Tested by
no test coverage detected