Skip to content

Commit

Permalink
Add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
iAmWillShepherd committed Nov 2, 2017
1 parent 460d0c6 commit 06bc8c4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/src/lib/stores/pull-request-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class PullRequestStore {
this.repositoriesStore = repositoriesStore
}

/** Update the list of open pull requests for the repository. */
/** Loads all pull requests against the given repository. */
public async refreshPullRequests(
repository: GitHubRepository,
account: Account
Expand Down Expand Up @@ -64,6 +64,7 @@ export class PullRequestStore {
}
}

/** Loads the status for a given pull request. */
public async refreshSinglePullRequestStatus(
repository: GitHubRepository,
account: Account,
Expand All @@ -72,6 +73,7 @@ export class PullRequestStore {
await this.refreshStatusesForPRs([pullRequest], repository, account)
}

/** Loads the status for all pull request against a given repository. */
public async refreshPullRequestStatuses(
repository: GitHubRepository,
account: Account
Expand All @@ -82,6 +84,7 @@ export class PullRequestStore {
}

public async refreshStatusesForPRs(
/** Get the pull requests from the database. */
pullRequests: ReadonlyArray<PullRequest>,
repository: GitHubRepository,
account: Account
Expand Down

0 comments on commit 06bc8c4

Please sign in to comment.