mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 03:20:12 +08:00
refactor: rename paths
This commit is contained in:
1 parent
e5f5590a67
commit
b5e20766a3
12 files changed
+52
-52
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import { Command } from '../types.js'
|
||||
import { Matcher } from './Matcher.js'
|
||||
|
||||
export class NotMatcher implements Matcher {
|
||||
constructor(private condition: Matcher) {}
|
||||
|
||||
match(command: Command): boolean {
|
||||
return !this.condition.match(command)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user