({
singleBranch,
depth,
credentialsId,
relative = false,
}: {
singleBranch: boolean;
depth?: number;
credentialsId?: string | null;
relative?: boolean;
})
| 1878 | } |
| 1879 | |
| 1880 | async fetch({ |
| 1881 | singleBranch, |
| 1882 | depth, |
| 1883 | credentialsId, |
| 1884 | relative = false, |
| 1885 | }: { |
| 1886 | singleBranch: boolean; |
| 1887 | depth?: number; |
| 1888 | credentialsId?: string | null; |
| 1889 | relative?: boolean; |
| 1890 | }) { |
| 1891 | console.log('[git] Fetch remote=origin'); |
| 1892 | return git.fetch({ |
| 1893 | ...this._baseOpts, |
| 1894 | ...gitCallbacks(credentialsId), |
| 1895 | singleBranch, |
| 1896 | remote: 'origin', |
| 1897 | relative, |
| 1898 | depth, |
| 1899 | prune: true, |
| 1900 | pruneTags: true, |
| 1901 | }); |
| 1902 | } |
| 1903 | |
| 1904 | async log(input: { depth?: number } = {}) { |
| 1905 | const { depth = 35 } = input; |
no test coverage detected