git-off

git off handles large files in git repos
git clone https://noulin.net/git/git-off.git
Log | Files | Refs | README

endpoint.d.ts (575B)


      1 export class Endpoint {
      2     /**
      3      * Constructs a new endpoint given an endpoint URL.
      4      */
      5     constructor(url: string);
      6 
      7     /**
      8      * The host portion of the endpoint including the port, e.g., example.com:80.
      9      */
     10     host: string;
     11     /**
     12      * The host portion of the endpoint, e.g., example.com.
     13      */
     14     hostname: string;
     15     /**
     16      * The full URL of the endpoint.
     17      */
     18     href: string;
     19     /**
     20      * The port of the endpoint.
     21      */
     22     port: number;
     23     /**
     24      * The protocol (http or https) of the endpoint URL.
     25      */
     26     protocol: string;
     27 }