nil,
[]ft.File{
root,
- ft.File{
+ {
Path: "file",
Mode: 0640,
Data: []byte("line\n"),
},
[]ft.File{
root,
- ft.File{
+ {
Path: "file",
Mode: 0641,
Data: []byte("line\n"),
},
[]ft.File{
root,
- ft.File{
+ {
Path: "file",
Mode: 0641,
Data: []byte("existing\nline\n"),
},
[]ft.File{
root,
- ft.File{
+ {
Path: "file",
Mode: 0641,
Data: []byte("existing\nline\n"),
},
[]ft.File{
root,
- ft.File{
+ {
Path: "file",
Mode: 0641,
Data: []byte("first\nline\n"),
},
[]ft.File{
root,
- ft.File{
+ {
Path: "file",
Mode: 0641,
Data: []byte("first\nline\n"),
},
[]ft.File{
root,
- ft.File{
+ {
Path: "file",
Mode: 0641,
Data: []byte("# line with spaces\nline with spaces\n"),
},
[]ft.File{
root,
- ft.File{
+ {
Path: "file",
Mode: fs.ModeSymlink | 0777,
Data: []byte("target"),
},
[]ft.File{
root,
- ft.File{
+ {
Path: "file",
Mode: fs.ModeNamedPipe | 0640,
},