- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestWriterAddFSNonRegularFiles (0.16 seconds)
-
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
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0)