authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-03-19 00:40:04 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-03-19 00:40:04 -07:00
log4560b93009d4f4c2e8b0077c5ea9cc7b61050d32
treea4782493af45200ff86c6e0806d14d7778a34f5a
parent4ebb7c89cd13be71cec8c4789710292ce4fbf492

util/dep_type- add commented types


1 files changed, 17 insertions(+), 0 deletions(-)

src/util/dep_type.zig+17
...@@ -11,6 +11,23 @@ pub const DepType = enum {...@@ -11,6 +11,23 @@ pub const DepType = enum {
11 git, // https://git-scm.com/11 git, // https://git-scm.com/
12 hg, // https://www.mercurial-scm.org/12 hg, // https://www.mercurial-scm.org/
13 http, // https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol13 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/
1431
15 pub fn pull(self: DepType, rpath: []const u8, dpath: []const u8) !void {32 pub fn pull(self: DepType, rpath: []const u8, dpath: []const u8) !void {
16 switch (self) {33 switch (self) {