wrapped_repository.ts 274 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
import { Repository } from '../api/git';

export class WrappedRepository {
  rawRepository: Repository;

  constructor(rawRepository: Repository) {
    this.rawRepository = rawRepository;
  }

  get rootFsPath(): string {
    return this.rawRepository.rootUri.fsPath;
  }
}