-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Darwin] Implemented download diagnostics log for MTRDevice_XPC #35998
Conversation
anush-apple
commented
Oct 9, 2024
- Implemented the downloadLogOfType API on MTRDevice_XPC to call into XPC server to forward the request
- Fixed the protocol to take controllerID which is missing from existing protocol
- Implemented the downloadLogOfType API on MTRDevice_XPC to call into XPC server to forward the request - Fixed the protocol to take controllerID which is missing from existing protocol
Review changes with SemanticDiff. |
PR #35998: Size comparison from 6252541 to 96eae59 Full report (51 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, linux, nrfconnect, nxp, psoc6, qpg, stm32, tizen)
|
PR #35998: Size comparison from 6252541 to a1d534e Full report (88 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #35998: Size comparison from 6252541 to 5ca1a95 Increases above 0.2%:
Full report (88 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #35998: Size comparison from 6252541 to 342eac6 Increases above 0.2%:
Full report (78 builds for cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
/* Note: The consumer of the completion block should move the file that the url points to or open it for reading before the | ||
* completion handler returns. Otherwise, the file will be deleted, and the data will be lost. | ||
*/ | ||
- (oneway void)deviceController:(NSUUID *)controller nodeID:(NSNumber *)nodeID downloadLogOfType:(MTRDiagnosticLogType)type timeout:(NSTimeInterval)timeout completion:(void (^)(NSURL * _Nullable url, NSError * _Nullable error))completion; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comments here do not seem to match the code. The code is doing an explicit remove, no? Why does it need to do that if the file will be deleted automatically?
Or am I missing something?