Skip to content

Commit 4fd0c02

Browse files
committed
Add rpc method to search for code search
1 parent 9497a47 commit 4fd0c02

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

core/cb.rpc.search/service.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,10 @@ SearchRPCService.prototype.files = function(args) {
1515
return this.search.files(args);
1616
};
1717

18+
SearchRPCService.prototype.code = function(args) {
19+
_.defaults(args, {});
20+
return this.search.code(args);
21+
};
22+
1823
// Exports
1924
exports.SearchRPCService = SearchRPCService;

0 commit comments

Comments
 (0)