From 05a7f47113133fd5caba4c609ad255cad002fdd7 Mon Sep 17 00:00:00 2001 From: Mark Spanbroek Date: Thu, 14 Jan 2021 13:54:03 +0100 Subject: [PATCH] Rename dagger->ipfs This is a storage engine based on IPFS, which is only a part of Dagger --- dagger.nim => ipfs.nim | 0 dagger.nimble => ipfs.nimble | 2 +- {dagger => ipfs}/chunking.nim | 0 {dagger => ipfs}/merkledag.nim | 0 {dagger => ipfs}/repo.nim | 0 tests/{dagger => ipfs}/testChunking.nim | 2 +- tests/{dagger/testDagger.nim => ipfs/testIpfs.nim} | 2 +- tests/{dagger => ipfs}/testMerkleDag.nim | 2 +- tests/{dagger => ipfs}/testRepo.nim | 2 +- tests/testAll.nim | 8 ++++---- 10 files changed, 9 insertions(+), 9 deletions(-) rename dagger.nim => ipfs.nim (100%) rename dagger.nimble => ipfs.nimble (82%) rename {dagger => ipfs}/chunking.nim (100%) rename {dagger => ipfs}/merkledag.nim (100%) rename {dagger => ipfs}/repo.nim (100%) rename tests/{dagger => ipfs}/testChunking.nim (96%) rename tests/{dagger/testDagger.nim => ipfs/testIpfs.nim} (98%) rename tests/{dagger => ipfs}/testMerkleDag.nim (91%) rename tests/{dagger => ipfs}/testRepo.nim (95%) diff --git a/dagger.nim b/ipfs.nim similarity index 100% rename from dagger.nim rename to ipfs.nim diff --git a/dagger.nimble b/ipfs.nimble similarity index 82% rename from dagger.nimble rename to ipfs.nimble index 5422c4eb..f18bfd98 100644 --- a/dagger.nimble +++ b/ipfs.nimble @@ -1,6 +1,6 @@ version = "0.1.0" author = "Dagger Team" -description = "Dagger Storage Network" +description = "Decentralized storage in Nim" license = "MIT" requires "nim >= 1.4.2 & < 2.0.0" diff --git a/dagger/chunking.nim b/ipfs/chunking.nim similarity index 100% rename from dagger/chunking.nim rename to ipfs/chunking.nim diff --git a/dagger/merkledag.nim b/ipfs/merkledag.nim similarity index 100% rename from dagger/merkledag.nim rename to ipfs/merkledag.nim diff --git a/dagger/repo.nim b/ipfs/repo.nim similarity index 100% rename from dagger/repo.nim rename to ipfs/repo.nim diff --git a/tests/dagger/testChunking.nim b/tests/ipfs/testChunking.nim similarity index 96% rename from tests/dagger/testChunking.nim rename to tests/ipfs/testChunking.nim index 5442f21b..0567974c 100644 --- a/tests/dagger/testChunking.nim +++ b/tests/ipfs/testChunking.nim @@ -1,6 +1,6 @@ import std/unittest import std/os -import pkg/dagger/chunking +import pkg/ipfs/chunking suite "chunking": diff --git a/tests/dagger/testDagger.nim b/tests/ipfs/testIpfs.nim similarity index 98% rename from tests/dagger/testDagger.nim rename to tests/ipfs/testIpfs.nim index a87cff4e..d651e15a 100644 --- a/tests/dagger/testDagger.nim +++ b/tests/ipfs/testIpfs.nim @@ -1,7 +1,7 @@ import std/os import pkg/asynctest import pkg/chronos -import pkg/dagger +import pkg/ipfs suite "integration": diff --git a/tests/dagger/testMerkleDag.nim b/tests/ipfs/testMerkleDag.nim similarity index 91% rename from tests/dagger/testMerkleDag.nim rename to tests/ipfs/testMerkleDag.nim index 922a0229..1abceea5 100644 --- a/tests/dagger/testMerkleDag.nim +++ b/tests/ipfs/testMerkleDag.nim @@ -1,6 +1,6 @@ import std/unittest import pkg/libp2p -import pkg/dagger/merkledag +import pkg/ipfs/merkledag suite "Merkle DAG": diff --git a/tests/dagger/testRepo.nim b/tests/ipfs/testRepo.nim similarity index 95% rename from tests/dagger/testRepo.nim rename to tests/ipfs/testRepo.nim index 1d18e088..5c3550b1 100644 --- a/tests/dagger/testRepo.nim +++ b/tests/ipfs/testRepo.nim @@ -1,5 +1,5 @@ import std/unittest -import pkg/dagger/repo +import pkg/ipfs/repo suite "repo": diff --git a/tests/testAll.nim b/tests/testAll.nim index 6ef25e2b..aaee2396 100644 --- a/tests/testAll.nim +++ b/tests/testAll.nim @@ -1,6 +1,6 @@ -import ./dagger/testMerkleDag -import ./dagger/testChunking -import ./dagger/testRepo -import ./dagger/testDagger +import ./ipfs/testMerkleDag +import ./ipfs/testChunking +import ./ipfs/testRepo +import ./ipfs/testIpfs {.warning[UnusedImport]: off.}