backend/lib/GitSheets.js
/**
   * Wraps Hologit.Repo.createTreeFromRef with error matching
   * @private
   */
Wraps Hologit.Repo.createTreeFromRef with error matching
@private
Wraps Hologit . Repo . createTreeFromRef with error matching @private
async _createTreeFromRef (parent) {
    try {
      return await this.repo.createTreeFromRef(parent);
    } catch (err) {
      if (err.message.startsWith('invalid tree ref')) {
        throw new InvalidRefError('unknown ref');
      } else {
        throw err;
      }
    }
  }
async _createTreeFromRef ( parent ) { try { return await this . repo . createTreeFromRef ( parent ) ; } catch ( err ) { if ( err . message . startsWith ( 'invalid tree ref' ) ) { throw new InvalidRefError ( 'unknown ref' ) ; } else { throw err ; } } }
Wraps Hologit.Repo.createTreeFromRef with error matching
 @private
Wraps Hologit . Repo . createTreeFromRef with error matching @private