<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello everyone,<br class=""><br class="">To implement a remote disk file completion like CommandCompletions:DiskFilesOrDirectories for commands like "platform get-size”, I was trying to find out how local disk files are resolved. It seems the resolving mechanism is based on the llvm::sys module with which the implementation of CommandCompletions:DiskFilesOrDirectories is indirectly coupled.<br class=""><br class="">As I went through the DoExecute function of platform commands, it seems the remote context can be accessed by the Platform pointer returned from <span class="">CommandObject::</span>GetDebugger().GetPlatformList().GetSelectedPlatform(). So maybe we could refactor <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">CommandCompletions:DiskFilesOrDirectories into Platform::</span> <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">DiskFilesOrDirectories to make it available for remote resolving?</span><div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><br class=""></span></div><div class=""><font color="#000000" class="">But I don’t know if the idea above is right or <span style="caret-color: rgb(0, 0, 0);" class="">feasible. Or maybe there could be other better solutions.</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class=""></span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class="">Does anyone have ideas?</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class=""></span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class="">Best regards,</span></font></div><div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class="">Gongyu Deng</span></font></div></body></html>