MCPcopy Create free account
hub / github.com/demoth/jake2 / accept

Method accept

qcommon/src/main/java/jake2/qcommon/sys/Sys.java:110–115  ·  view source on GitHub ↗
(File dir, String name)

Source from the content-addressed store, hash-verified

108 * @see java.io.FilenameFilter#accept(java.io.File, java.lang.String)
109 */
110 public boolean accept(File dir, String name) {
111 if (name.matches(regexpr)) {
112 return CompareAttributes(dir, musthave, canthave);
113 }
114 return false;
115 }
116
117 String convert2regexpr(String pattern) {
118

Callers 3

CL_ReadPacketsMethod · 0.45
SV_ReadPacketsMethod · 0.45
eachCvarByFlagsMethod · 0.45

Calls 2

CompareAttributesMethod · 0.95
matchesMethod · 0.80

Tested by

no test coverage detected