Function
Static Public Summary | ||
public |
Clone Repository |
|
public |
Get environment variables |
|
public |
Get Diff Strings |
|
public |
getDiffPages(repo: Object, pages: Object[]): Promise Get Diff Strings for Pages |
|
public |
Get Repository |
|
public |
getRepoNameFromRemotePath(repoPath: string): string Get Repository name from remote path |
|
public |
getRepoPathFromPayload(payload: Object): string Get remote repository path from payload object |
Static Public
public cloneRepo(repoPath: string, cloneDir: string): Promise source
import {cloneRepo} from 'github-wiki-notifier/src/repository.js'
Clone Repository
public get(name: string): string | undefined source
import {get} from 'github-wiki-notifier/src/utils/env.js'
Get environment variables
Params:
Name | Type | Attribute | Description |
name | string | variable name |
public getDiff(repo: Object, opts: String[]): Promise source
import {getDiff} from 'github-wiki-notifier/src/repository.js'
Get Diff Strings
public getDiffPages(repo: Object, pages: Object[]): Promise source
import {getDiffPages} from 'github-wiki-notifier/src/repository.js'
Get Diff Strings for Pages
public getRepo(repoPath: string, cloneDir: string): Promise source
import {getRepo} from 'github-wiki-notifier/src/repository.js'
Get Repository
public getRepoNameFromRemotePath(repoPath: string): string source
import {getRepoNameFromRemotePath} from 'github-wiki-notifier/src/repository.js'
Get Repository name from remote path
Params:
Name | Type | Attribute | Description |
repoPath | string | repository path |