Remove un-needed code

This commit is contained in:
Mathew Payne
2023-07-11 10:26:15 +01:00
parent 20d4e53eaf
commit 3cc5ba1eed

View File

@@ -27,12 +27,7 @@ module GoMicro {
* A file that is generated by the protobuf compiler.
*/
class ProtocGeneratedFile extends File {
ProtocGeneratedFile() {
exists(string prefix, File f |
prefix = this.getBaseName().regexpCapture("^(.*)\\.pb(\\.micro)?\\.go$", 1) and
this.getParentContainer() = f.getParentContainer()
)
}
ProtocGeneratedFile() { this.getBaseName().regexpMatch(".*\\.pb(\\.micro)?\\.go$") }
}
/**