从无法访问的项目Fork
体验新版 GitCode,发现更多精彩内容 >>
import { Repository } from '../api/git'; export class WrappedRepository { rawRepository: Repository; constructor(rawRepository: Repository) { this.rawRepository = rawRepository; } get rootFsPath(): string { return this.rawRepository.rootUri.fsPath; } }