Skip to content

Commit

Permalink
Move packages to internal/ (#5)
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Hall <jason@chainguard.dev>
  • Loading branch information
imjasonh committed May 12, 2022
1 parent 74147bb commit 656c5cf
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -1,2 +1,4 @@
# Vim swap files
*.swp

gitsign
6 changes: 3 additions & 3 deletions command_sign.go
Expand Up @@ -7,9 +7,9 @@ import (
"os"

"github.com/pkg/errors"
"github.com/sigstore/gitsign/fulcio"
"github.com/sigstore/gitsign/git"
"github.com/sigstore/gitsign/signature"
"github.com/sigstore/gitsign/internal/fulcio"
"github.com/sigstore/gitsign/internal/git"
"github.com/sigstore/gitsign/internal/signature"
)

func commandSign() error {
Expand Down
4 changes: 2 additions & 2 deletions command_verify.go
Expand Up @@ -10,8 +10,8 @@ import (

"github.com/pkg/errors"
"github.com/sigstore/cosign/cmd/cosign/cli/fulcio/fulcioroots"
"github.com/sigstore/gitsign/git"
"github.com/sigstore/gitsign/signature"
"github.com/sigstore/gitsign/internal/git"
"github.com/sigstore/gitsign/internal/signature"
)

func commandVerify() error {
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions git/git.go → internal/git/git.go
Expand Up @@ -11,9 +11,9 @@ import (
"github.com/go-git/go-git/v5/plumbing/object"
"github.com/pkg/errors"
"github.com/sigstore/cosign/cmd/cosign/cli/fulcio/fulcioroots"
"github.com/sigstore/gitsign/fulcio"
"github.com/sigstore/gitsign/rekor"
"github.com/sigstore/gitsign/signature"
"github.com/sigstore/gitsign/internal/fulcio"
"github.com/sigstore/gitsign/internal/rekor"
"github.com/sigstore/gitsign/internal/signature"
"github.com/sigstore/rekor/pkg/generated/models"
)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 656c5cf

Please sign in to comment.