(name string, contents []byte, perm os.FileMode)
| 657 | } |
| 658 | |
| 659 | func (fs directFS) WriteFile(name string, contents []byte, perm os.FileMode) error { |
| 660 | return os.WriteFile(fs.path(name), contents, perm) |
| 661 | } |
| 662 | |
| 663 | // runningAsGUIDesktopUser reports whether it seems that this code is |
| 664 | // being run as a regular user on a Linux desktop. This is a quick |