Skip to content

Commit aabae7c

Browse files
chore: rename namespace and assembly
1 parent 312227d commit aabae7c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+129
-133
lines changed

IpfsApi.sln renamed to IpfsHttpClient.sln

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1313
EndProject
1414
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Documentation", "doc\Documentation.csproj", "{F3A32EA9-0B2F-46A3-B47A-33B4C04BD423}"
1515
EndProject
16-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IpfsApi", "src\IpfsApi.csproj", "{F3C81C57-C283-4E07-B765-DEABCFB22136}"
16+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IpfsHttpClient", "src\IpfsHttpClient.csproj", "{F3C81C57-C283-4E07-B765-DEABCFB22136}"
1717
EndProject
18-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IpfsApiTests", "test\IpfsApiTests.csproj", "{B459FBC7-4A28-4170-AD83-7348A403407F}"
18+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IpfsHttpClientTests", "test\IpfsHttpClientTests.csproj", "{B459FBC7-4A28-4170-AD83-7348A403407F}"
1919
EndProject
2020
Global
2121
GlobalSection(SolutionConfigurationPlatforms) = preSolution

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![build status](https://ci.appveyor.com/api/projects/status/github/richardschneider/net-ipfs-api?branch=master&svg=true)](https://ci.appveyor.com/project/richardschneider/net-ipfs-api)
44
[![Coverage Status](https://coveralls.io/repos/github/richardschneider/net-ipfs-api/badge.svg?branch=master)](https://coveralls.io/github/richardschneider/net-ipfs-api?branch=master)
5-
[![Version](https://img.shields.io/nuget/v/Ipfs.Api.svg)](https://www.nuget.org/packages/Ipfs.Api)
5+
[![Version](https://img.shields.io/nuget/v/Ipfs.Http.svg)](https://www.nuget.org/packages/Ipfs.Http)
66
[![docs](https://cdn.rawgit.com/richardschneider/net-ipfs-api/master/doc/images/docs-latest-green.svg)](https://richardschneider.github.io/net-ipfs-api/articles/client.html)
77

88

@@ -37,13 +37,11 @@ More information, including the Class Reference, is on the [Project](https://ric
3737

3838
Published releases of IPFS API are available on [NuGet](https://www.nuget.org/packages/ipfs.api/). To install, run the following command in the [Package Manager Console](https://docs.nuget.org/docs/start-here/using-the-package-manager-console).
3939

40-
PM> Install-Package Ipfs.Api
40+
PM> Install-Package Ipfs.Http.Client
4141

42-
For the latest build or older non-released builds see [Continuous Integration](https://github.com/richardschneider/net-ipfs-core/wiki/Continuous-Integration).
43-
4442
## IpfsClient
4543

46-
Every IPFS Api is a property of the [IpfsClient](https://richardschneider.github.io/net-ipfs-api/api/Ipfs.Api.IpfsClient.html). The following example reads a text file
44+
Every IPFS Api is a property of the [IpfsClient](https://richardschneider.github.io/net-ipfs-api/api/Ipfs.Http.IpfsClient.html). The following example reads a text file
4745

4846
```csharp
4947
var ipfs = new IpfsClient();

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ build_script:
5555
- dotnet pack -c %CONFIGURATION% --no-build --no-restore -p:Version=%GitVersion_MajorMinorPatch% -p:AssemblyVersion=%GitVersion_MajorMinorPatch%
5656

5757
after_build:
58-
- cmd: appveyor PushArtifact "src\bin\%CONFIGURATION%\Ipfs.Http.%GitVersion_MajorMinorPatch%.nupkg"
58+
- cmd: appveyor PushArtifact "src\bin\%CONFIGURATION%\Ipfs.Http.Client.%GitVersion_MajorMinorPatch%.nupkg"
5959
# Build documentation in doc\_site
6060
# See https://github.com/dotnet/docfx/issues/1752#issuecomment-308909959
6161
- set MSBUILD_EXE_PATH=C:\Program Files\dotnet\sdk\2.0.0\MSBuild.dll

doc/articles/client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
IPFS is a distributed peer to peer system. There is no central server! Typically, each machine (peer) runs
44
a [daemon](daemon.md) that communicates with other peers.
55

6-
The [IpfsClient](xref:Ipfs.Api.IpfsClient) provides a simple way for your program to access the daemon
6+
The [IpfsClient](xref:Ipfs.Http.IpfsClient) provides a simple way for your program to access the daemon
77
via the [IPFS HTTP API](https://docs.ipfs.io/reference/api/http/) protocol. The client
88
should be used as a shared object in your program, much like [HttpClient](xref:System.Net.Http.HttpClient). It is
99
thread safe (re-entrant) and conserves sockets and TCP connections when only one instance is used.

doc/articles/envvars.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ are used to control the behaviour of the library. They override the default va
55

66
| Name | Description |
77
| --- | --- |
8-
| IpfsHttpUrl | The [default URL](xref:Ipfs.Api.IpfsClient.DefaultApiUri) to the IPFS HTTP API [daemon](daemon.md).
8+
| IpfsHttpUrl | The [default URL](xref:Ipfs.Http.IpfsClient.DefaultApiUri) to the IPFS HTTP API [daemon](daemon.md).

doc/articles/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
A .Net client library for the IPFS HTTP API, implemented in C#. It allows you to access the features of [IPFS](https://ipfs.io/).
44

55
The source code is on [GitHub](https://github.com/richardschneider/net-ipfs-api) and the
6-
package is published on [NuGet](https://www.nuget.org/packages/Ipfs.Api).
6+
package is published on [NuGet](https://www.nuget.org/packages/Ipfs.Http).
77

88
![](https://ipfs.io/ipfs/QmQJ68PFMDdAsgCZvA1UVzzn18asVcf7HVvCDgpjiSCAse)

doc/articles/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
- name: IPFS daemon
1212
href: daemon.md
1313
- name: Class Reference
14-
href: ../api/Ipfs.Api.yml
14+
href: ../api/Ipfs.Http.yml

doc/index.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# IPFS API
2-
3-
A .Net client library to access the IPFS, it implements the [IPFS Core API](https://github.com/ipfs/interface-ipfs-core).
4-
The source code is on [GitHub](https://github.com/richardschneider/net-ipfs-api) and the
5-
package is published on [NuGet](https://www.nuget.org/packages/Ipfs.Api).
6-
7-
The interplanetary file system is the permanent web. It is a new hypermedia distribution protocol, addressed by content and identities. IPFS enables the creation of completely distributed applications. It aims to make the web faster, safer, and more open.
8-
9-
- [Articles](articles/intro.md) on using the API
10-
- [API Documentation](api/Ipfs.Api.yml) describes the core objects in detail
11-
12-
[![IPFS Core API](https://github.com/ipfs/interface-ipfs-core/raw/master/img/badge.png)](https://github.com/ipfs/interface-ipfs-core)
1+
# IPFS API
2+
3+
A .Net client library to access the IPFS, it implements the [IPFS Core API](https://github.com/ipfs/interface-ipfs-core).
4+
The source code is on [GitHub](https://github.com/richardschneider/net-ipfs-api) and the
5+
package is published on [NuGet](https://www.nuget.org/packages/Ipfs.Http).
6+
7+
The interplanetary file system is the permanent web. It is a new hypermedia distribution protocol, addressed by content and identities. IPFS enables the creation of completely distributed applications. It aims to make the web faster, safer, and more open.
8+
9+
- [Articles](articles/intro.md) on using the API
10+
- [API Documentation](api/Ipfs.Http.yml) describes the core objects in detail
11+
12+
[![IPFS Core API](https://github.com/ipfs/interface-ipfs-core/raw/master/img/badge.png)](https://github.com/ipfs/interface-ipfs-core)

src/Block.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using System.Text;
77
using System.Threading.Tasks;
88

9-
namespace Ipfs.Api
9+
namespace Ipfs.Http
1010
{
1111
/// <inheritdoc />
1212
[DataContract]

src/CoreApi/BitswapApi.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
using Ipfs.CoreApi;
1111
using System.IO;
1212

13-
namespace Ipfs.Api
13+
namespace Ipfs.Http
1414
{
1515

1616
class BitswapApi : IBitswapApi

0 commit comments

Comments
 (0)