(config: Config)
| 18 | isLargeMedia: (filename: string) => Promise<boolean>; |
| 19 | |
| 20 | constructor(config: Config) { |
| 21 | super({ |
| 22 | getUser: () => Promise.reject('Never used'), |
| 23 | ...config, |
| 24 | }); |
| 25 | this.apiRoot = config.apiRoot; |
| 26 | this.tokenPromise = config.tokenPromise; |
| 27 | this.commitAuthor = config.commitAuthor; |
| 28 | this.isLargeMedia = config.isLargeMedia; |
| 29 | this.repoURL = ''; |
| 30 | this.originRepoURL = ''; |
| 31 | } |
| 32 | |
| 33 | hasWriteAccess() { |
| 34 | return this.getDefaultBranch() |
nothing calls this directly
no outgoing calls
no test coverage detected