Standard library / archive/tar
archive/tar.FormatPAX
PAX extended records support longer paths and richer metadata. Expected stdout: '4\n'.
Formal Syntax & Structure
go syntaxgo
const FormatPAX Format = 4Working Example
Example Snippetgo
package main
import ( "archive/tar" "fmt")
func must(e error) { if e != nil { panic(e) }}
func main() { fmt.Println(int(tar.FormatPAX)) }