Skip to main content

Class: SvnActorResolver

Defined in: packages/core/src/infrastructure/svn/actor-resolver.ts:11

Subversion-based implementation of ActorResolver.

Reads the authenticated username from svn auth. SVN does not store an email address natively, so email is left empty.

Implements

Constructors

Constructor

new SvnActorResolver(cwd?): SvnActorResolver

Defined in: packages/core/src/infrastructure/svn/actor-resolver.ts:19

Creates a new SvnActorResolver.

Parameters

cwd?

string = ...

Working directory for svn commands; defaults to process.cwd()

Returns

SvnActorResolver

Methods

identity()

identity(): Promise<ActorIdentity>

Defined in: packages/core/src/infrastructure/svn/actor-resolver.ts:24

Returns the identity of the current actor.

Returns

Promise<ActorIdentity>

The actor's name and email

Throws

When the identity cannot be determined

Implementation of

ActorResolver.identity