mirror of
https://github.com/mandiant/gopacket
synced 2026-06-21 13:57:02 +00:00
40 lines
714 B
Plaintext
40 lines
714 B
Plaintext
# gopacket .gitignore
|
|
#
|
|
# Default-deny at the repo root, allowlist what's expected. This catches
|
|
# stray binaries from accidentally running `go build ./tools/...` at the
|
|
# repo root, which would otherwise drop ~60 unnamed Go binaries into the
|
|
# working tree.
|
|
|
|
/*
|
|
|
|
# Allowed root-level entries
|
|
!/.gitignore
|
|
!/.github
|
|
!/LICENSE
|
|
!/NOTICE
|
|
!/README.md
|
|
!/CONTRIBUTING.md
|
|
!/KNOWN_ISSUES.md
|
|
!/Makefile
|
|
!/go.mod
|
|
!/go.sum
|
|
!/install.sh
|
|
!/internal
|
|
!/pkg
|
|
!/tools
|
|
|
|
# Compiled Go binaries inside tools/ subdirectories
|
|
# (produced by running `go build` inside a tool directory)
|
|
tools/*/[A-Za-z]*
|
|
!tools/*/main.go
|
|
!tools/*/*.go
|
|
|
|
# Editor and OS detritus (anywhere in the tree)
|
|
.DS_Store
|
|
Thumbs.db
|
|
*.swp
|
|
*.swo
|
|
*.swn
|
|
.vscode/
|
|
.idea/
|