| skipped 2 lines |
3 | 3 | | /* File to store all the script for better reference */ |
4 | 4 | | |
5 | 5 | | const ( |
6 | | - | SetVar = "SetVar" |
7 | | - | GetOSEnv = "GetOSEnv" |
8 | | - | ) |
9 | | - | |
10 | | - | const ( |
11 | | - | RRSync = "RRSync" |
12 | | - | Clone = "Clone" |
13 | | - | FClone = "FClone" |
14 | | - | PushResult = "PushResult" |
15 | | - | PushFolder = "PushFolder" |
16 | | - | PullFolder = "PullFolder" |
17 | | - | DiffCompare = "DiffCompare" |
18 | | - | GitDiff = "GitDiff" |
19 | | - | LoopGitDiff = "LoopGitDiff" |
20 | | - | GetFileFromCDN = "GetFileFromCDN" |
21 | | - | GetWSFromCDN = "GetWSFromCDN" |
22 | | - | DownloadFile = "DownloadFile" |
23 | | - | // for gitlab API only |
24 | | - | CreateRepo = "CreateRepo" |
25 | | - | DeleteRepo = "DeleteRepo" |
26 | | - | DeleteRepoByPid = "DeleteRepoByPid" |
27 | | - | ListProjects = "ListProjects" |
28 | | - | ) |
29 | | - | |
30 | | - | const ( |
31 | 6 | | Cleaning = "Cleaning" |
32 | 7 | | CleanAmass = "CleanAmass" |
33 | 8 | | CleanRustScan = "CleanRustScan" |
| skipped 29 lines |
63 | 38 | | ExecCmdB = "ExecCmdB" |
64 | 39 | | ExecCmdWithOutput = "ExecCmdWithOutput" |
65 | 40 | | ExecContain = "ExecContain" |
66 | | - | ) |
67 | | - | |
68 | | - | const ( |
69 | | - | Sleep = "Sleep" |
70 | | - | Exit = "Exit" |
71 | | - | CastToInt = "CastToInt" |
72 | | - | StripSlash = "StripSlash" |
73 | | - | Printf = "Printf" |
74 | | - | Cat = "Cat" |
75 | | - | ) |
76 | | - | |
77 | | - | const ( |
| 41 | + | Sleep = "Sleep" |
| 42 | + | Exit = "Exit" |
| 43 | + | CastToInt = "CastToInt" |
| 44 | + | StripSlash = "StripSlash" |
| 45 | + | Printf = "Printf" |
| 46 | + | Cat = "Cat" |
78 | 47 | | SortU = "SortU" |
79 | 48 | | SplitFile = "SplitFile" |
80 | 49 | | Append = "Append" |
| skipped 21 lines |
102 | 71 | | CreateReport = "CreateReport" |
103 | 72 | | ) |
104 | 73 | | |
| 74 | + | const ( |
| 75 | + | RRSync = "RRSync" |
| 76 | + | Clone = "Clone" |
| 77 | + | FClone = "FClone" |
| 78 | + | PushResult = "PushResult" |
| 79 | + | PushFolder = "PushFolder" |
| 80 | + | PullFolder = "PullFolder" |
| 81 | + | DiffCompare = "DiffCompare" |
| 82 | + | GitDiff = "GitDiff" |
| 83 | + | LoopGitDiff = "LoopGitDiff" |
| 84 | + | GetFileFromCDN = "GetFileFromCDN" |
| 85 | + | GetWSFromCDN = "GetWSFromCDN" |
| 86 | + | DownloadFile = "DownloadFile" |
| 87 | + | // for gitlab API only |
| 88 | + | CreateRepo = "CreateRepo" |
| 89 | + | DeleteRepo = "DeleteRepo" |
| 90 | + | DeleteRepoByPid = "DeleteRepoByPid" |
| 91 | + | ListProjects = "ListProjects" |
| 92 | + | ) |
| 93 | + | |
| 94 | + | const ( |
| 95 | + | SetVar = "SetVar" |
| 96 | + | GetOSEnv = "GetOSEnv" |
| 97 | + | ) |