Skip to content

Commit

Permalink
Merge pull request #10219 from ipfs/magiks-ribs-hacks
Browse files Browse the repository at this point in the history
feat(cmd/ipfs): Make it possible to depend on cmd/ipfs/kubo for easier preloaded plugin management
  • Loading branch information
aschmahmann committed Dec 22, 2023
2 parents f71ae39 + 287444b commit 58ebfd2
Show file tree
Hide file tree
Showing 15 changed files with 525 additions and 485 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package kubo

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion cmd/ipfs/daemon.go → cmd/ipfs/kubo/daemon.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package kubo

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion cmd/ipfs/daemon_linux.go → cmd/ipfs/kubo/daemon_linux.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//go:build linux
// +build linux

package main
package kubo

import (
daemon "github.com/coreos/go-systemd/v22/daemon"
Expand Down
2 changes: 1 addition & 1 deletion cmd/ipfs/daemon_other.go → cmd/ipfs/kubo/daemon_other.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//go:build !linux
// +build !linux

package main
package kubo

func notifyReady() {}

Expand Down
2 changes: 1 addition & 1 deletion cmd/ipfs/debug.go → cmd/ipfs/kubo/debug.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package kubo

import (
"net/http"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package kubo

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion cmd/ipfs/init.go → cmd/ipfs/kubo/init.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package kubo

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion cmd/ipfs/ipfs.go → cmd/ipfs/kubo/ipfs.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package kubo

import (
commands "github.com/ipfs/kubo/core/commands"
Expand Down
2 changes: 1 addition & 1 deletion cmd/ipfs/pinmfs.go → cmd/ipfs/kubo/pinmfs.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package kubo

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion cmd/ipfs/pinmfs_test.go → cmd/ipfs/kubo/pinmfs_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package kubo

import (
"context"
Expand Down
Loading

0 comments on commit 58ebfd2

Please sign in to comment.