| ... | ... | @@ -11,6 +11,23 @@ pub const DepType = enum { |
| 11 | 11 | git, // https://git-scm.com/ |
| 12 | 12 | hg, // https://www.mercurial-scm.org/ |
| 13 | 13 | http, // https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol |
| 14 | // svn, // https://subversion.apache.org/ |
| 15 | // fossil, // https://fossil-scm.org/ |
| 16 | // cvs, // https://nongnu.org/cvs/ |
| 17 | // darcs, // http://darcs.net/ |
| 18 | // // |
| 19 | // bazaar, // https://bazaar.canonical.com/en/ |
| 20 | // pijul, // https://pijul.org/ |
| 21 | // // |
| 22 | // ftp, // https://en.wikipedia.org/wiki/File_Transfer_Protocol |
| 23 | // ssh, // https://www.ssh.com/ssh/ |
| 24 | // onion, // https://www.torproject.org/ |
| 25 | // i2p, // https://geti2p.net/en/ |
| 26 | // torrent, // https://en.wikipedia.org/wiki/BitTorrent |
| 27 | // magnet, // https://en.wikipedia.org/wiki/BitTorrent |
| 28 | // dat, // https://www.datprotocol.com/ |
| 29 | // ipfs, // https://www.ipfs.com/ |
| 30 | // hypercore, // https://hypercore-protocol.org/ |
| 14 | 31 | |
| 15 | 32 | pub fn pull(self: DepType, rpath: []const u8, dpath: []const u8) !void { |
| 16 | 33 | switch (self) { |