IDL file pulling method and device, computer equipment and storage medium
A file and folder technology, applied in the computer field, can solve the problems of inconvenient search for IDL files, reduce the efficiency of IDL file pull, etc., achieve the effect of reducing storage resource overhead, avoiding cumbersome manual switching operations, and reducing time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0066] see figure 1 As shown, a flowchart of a method for pulling an IDL file provided by Embodiment 1 of the present disclosure, the method includes steps S101-S104, wherein:
[0067] S101: Obtain the pull information of the IDL file.
[0068] In this step, the user can write the IDL file pull information in the configuration file according to the IDL file required by the current business and according to the preset format, wherein the IDL file pull information can at least include the git warehouse identification, the entry IDL file regular expressions and output folders, etc.
[0069] When the git warehouse is hosted on the git remote server, the git warehouse address can be used for unique identification. Therefore, the above git warehouse identity can be the git warehouse address, that is, the corresponding code warehouse can be found on the git remote server according to the git warehouse address. .
[0070] It should be understood that the git repository identifier m...
Embodiment 2
[0098] During specific implementation, since different versions of IDL files are hosted in the git warehouse, the git warehouse contains many git warehouse branches, and the IDL file required by the current business project is usually only one of the git warehouse branches. In order to further improve the efficiency of pulling the IDL file, in the embodiment of the present disclosure, the IDL file pulling information may also include the git warehouse branch identification. According to the git warehouse branch identification, after pulling the git warehouse into the temporary folder, it The git repository branch ID switches to the corresponding git repository branch. The git repository branch identifier can be the git repository branch name.
[0099] If the pull information of the IDL file includes the git repository branch identifier, in step S102, a command string may be generated according to the git repository identifier, the temporary folder path, and the git repository ...
Embodiment 3
[0105] refer to image 3 As shown, a schematic diagram of pulling an IDL file provided in Embodiment 3 of the present disclosure, the device includes: an obtaining module 301, a generating module 302, a pulling module 303, a parsing module 304, and a copying module 305; wherein,
[0106] The acquisition module 301 is used to read the user-specified interface description language IDL file pull information, the IDL file pull information at least includes the distributed version control system git warehouse identifier, the entry IDL file regular expression and the output folder path;
[0107] The generating module 302 is configured to generate a command string at least according to the git repository identifier and the temporary folder path, wherein the temporary folder is pre-created, and the git repository identifier may be a git repository address.
[0108] The pulling module 303 is used to call the git command to pull the git warehouse into the temporary folder according to t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com