Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move packages to internal/ #5

Merged
merged 1 commit into from May 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.