Skip to content

Commit 63e3d7c

Browse files
committed
Remove unused method
1 parent c5445cb commit 63e3d7c

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/app/shared/utils/license.utils.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,3 @@ export function parseCcCode(uri: string): string {
88
const matches = regex.exec(uri ?? '') ?? [];
99
return matches.length > 2 ? matches[2] : null;
1010
}
11-
12-
/**
13-
* Returns whether a URI denotes a valid URI for CC licenses.
14-
* @param uri
15-
* @returns true if the URI corresponds to a reconigzable CC license URI or false otherwise
16-
*/
17-
export function isCcLicense(uri: string): boolean {
18-
return !!parseCcCode(uri);
19-
}

0 commit comments

Comments
 (0)