- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestWriterAddFSNonRegularFiles (0.76 sec)
-
src/archive/tar/writer_test.go
t.Fatalf("test fs has file content %v; archive header has %v", origdata, data) } } } if entriesLeft > 0 { t.Fatalf("not all entries are in the archive") } } func TestWriterAddFSNonRegularFiles(t *testing.T) { fsys := fstest.MapFS{ "device": {Data: []byte("hello"), Mode: 0755 | fs.ModeDevice}, "symlink": {Data: []byte("world"), Mode: 0755 | fs.ModeSymlink}, } var buf bytes.Buffer
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Feb 03 16:38:43 UTC 2025 - 39.8K bytes - Viewed (0)