Skip to content

Commit

Permalink
Fix Request imports in Internal implementations
Browse files Browse the repository at this point in the history
The swarm mixins need access to the Notification type, so the imports of the
requests need to be made public.
  • Loading branch information
don-clugston-sociomantic authored and gavin-norman-sociomantic committed Aug 13, 2019
1 parent 5519f2d commit 2d853f2
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/dhtproto/client/request/internal/Exists.d
Expand Up @@ -59,7 +59,7 @@ static this ( )
public struct Exists
{
import dhtproto.common.Exists;
import dhtproto.client.request.Exists;
public import dhtproto.client.request.Exists;
import dhtproto.common.RequestCodes;
import swarm.neo.client.mixins.RequestCore;
import swarm.neo.client.RequestHandlers;
Expand Down
2 changes: 1 addition & 1 deletion src/dhtproto/client/request/internal/Get.d
Expand Up @@ -59,7 +59,7 @@ static this ( )
public struct Get
{
import dhtproto.common.Get;
import dhtproto.client.request.Get;
public import dhtproto.client.request.Get;
import dhtproto.common.RequestCodes;
import swarm.neo.client.mixins.RequestCore;
import swarm.neo.client.RequestHandlers;
Expand Down
2 changes: 1 addition & 1 deletion src/dhtproto/client/request/internal/GetAll.d
Expand Up @@ -41,7 +41,7 @@ import ocean.core.Verify;
public struct GetAll
{
import dhtproto.common.GetAll;
import dhtproto.client.request.GetAll;
public import dhtproto.client.request.GetAll;
import dhtproto.common.RequestCodes;
import dhtproto.client.NotifierTypes;
import swarm.util.RecordBatcher;
Expand Down
2 changes: 1 addition & 1 deletion src/dhtproto/client/request/internal/GetChannels.d
Expand Up @@ -40,7 +40,7 @@ import ocean.util.log.Logger;
public struct GetChannels
{
import dhtproto.common.GetChannels;
import dhtproto.client.request.GetChannels;
public import dhtproto.client.request.GetChannels;
import dhtproto.common.RequestCodes;
import dhtproto.client.NotifierTypes;
import swarm.neo.client.mixins.RequestCore;
Expand Down
2 changes: 1 addition & 1 deletion src/dhtproto/client/request/internal/Mirror.d
Expand Up @@ -41,7 +41,7 @@ import ocean.core.Verify;
public struct Mirror
{
import dhtproto.common.Mirror;
import dhtproto.client.request.Mirror;
public import dhtproto.client.request.Mirror;
import dhtproto.common.RequestCodes;
import dhtproto.client.NotifierTypes;
import swarm.neo.client.mixins.RequestCore;
Expand Down
2 changes: 1 addition & 1 deletion src/dhtproto/client/request/internal/Remove.d
Expand Up @@ -53,7 +53,7 @@ static this ( )
public struct Remove
{
import dhtproto.common.Remove;
import dhtproto.client.request.Remove;
public import dhtproto.client.request.Remove;
import dhtproto.common.RequestCodes;
import swarm.neo.client.mixins.RequestCore;
import swarm.neo.client.RequestHandlers;
Expand Down
2 changes: 1 addition & 1 deletion src/dhtproto/client/request/internal/RemoveChannel.d
Expand Up @@ -40,7 +40,7 @@ import ocean.util.log.Logger;
public struct RemoveChannel
{
import dhtproto.common.RemoveChannel;
import dhtproto.client.request.RemoveChannel;
public import dhtproto.client.request.RemoveChannel;
import dhtproto.common.RequestCodes;
import dhtproto.client.NotifierTypes;
import swarm.neo.client.mixins.RequestCore;
Expand Down
2 changes: 1 addition & 1 deletion src/dhtproto/client/request/internal/Update.d
Expand Up @@ -55,7 +55,7 @@ public struct Update
{
import dhtproto.common.Update;
import dhtproto.common.RequestCodes;
import dhtproto.client.request.Update;
public import dhtproto.client.request.Update;
import swarm.neo.AddrPort;
import swarm.neo.client.mixins.RequestCore;
import swarm.neo.client.RequestHandlers;
Expand Down

0 comments on commit 2d853f2

Please sign in to comment.