Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "resources/html"

This file is part of the vscode-deploy-reloaded distribution. Copyright (c) Marcel Joachim Kloubert.

vscode-deploy-reloaded is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3.

vscode-deploy-reloaded is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Index

Type aliases

RepositoryKey

RepositoryKey: "footer.html" | "header.html"

A possible value for a repository key.

Functions

getContent

  • Tries to return content from 'REPOSITORY' constant.

    Parameters

    Returns Promise<Buffer>

    The promise with the data (if available).

getContentSync

  • Tries to return content from 'REPOSITORY' constant.

    Parameters

    Returns Buffer

    Buffer The data (if available).

getStringContent

  • getStringContent(key: RepositoryKey, enc?: string): Promise<string>
  • Tries to return content from 'REPOSITORY' constant as string.

    Parameters

    • key: RepositoryKey

      The key inside the constant.

    • Optional enc: string

    Returns Promise<string>

    The promise with the data (if available).

getStringContentSync

  • Tries to return content from 'REPOSITORY' constant as string.

    Parameters

    • key: RepositoryKey

      The key inside the constant.

    • Optional enc: string

    Returns string

    The data (if available).

Object literals

Const REPOSITORY

REPOSITORY: object

footer.html

footer.html: Buffer = new Buffer("H4sIAAAAAAAAClNQUFDg5VKAApvi5KLMghKFksqCVFulktSKEv2sxLJEiKiSHS8XL5e+lkJYsLO/i6uui2uAj3+kbpCrj7+ji6uLQnFRsq0SQrk+hNLLKlZS0NIHaYXbApWygwjZ6Cflp1QCOTb6GSW5OXYAfyZrJ5MAAAA=", 'base64')

header.html

header.html: Buffer = new Buffer("H4sIAAAAAAAACsVTbWvbMBD+Pth/UA3DchrJaQih0KQQYg8GgXR9g34qiqzW8mTJky5hZuS/T7bTNR0dy6BQgznf+e557rmTJkfJcn59d5GiHEp1/vHDZGeRfya5YNnuu/VLAQzxnFknYBrcXH8mp4H/v5fhoFYCQV2JaQDiB8TcuS4l7qHbq/kySUmSXiyWd+QyXSxnSZogZ/k08HlxrqhlUjnOHDjaVKJe/AI+bvHfkLItPpyKW1nBPlfBNqyLdpQPa81BGo02jmf2fjUeJYKbTNxo2RjswEboZwdpBaytRlmXcPllbsrKaKEBz6xlNa2sAdNw0ZJVlDOlMAOzajH66IkJ89+Ae6DhpxAdIxwOBo3ltFna3NPMAA8iCuYKrNSP+GQcRdQpyQUmw6hD2Ua0MFLjMIx8ZPvHUFqtL6dyRAjK5WOu/Au0cIiQ8/8amtgwhbuKv4ztH5t8BoyfG6kY/+a7CdCDsSXz53XFnBiP+oUzutm2FxedHaau+LoWtn5XXcX3pgUypEM6oqXUByhreF9V17m7y71zVyarvfcLA0j+EBAEAAA=", 'base64')

Generated using TypeDoc