Commit 923cd7b1 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Run gofmt.

parent b1aee138
package fuse package fuse
import ( import (
"path"
"bytes" "bytes"
"fmt" "fmt"
"os" "os"
"os/exec" "os/exec"
"path"
"path/filepath" "path/filepath"
"syscall" "syscall"
"unsafe" "unsafe"
......
package nodefs package nodefs
import ( import (
"unsafe"
"syscall" "syscall"
"unsafe"
) )
// futimens - futimens(3) calls utimensat(2) with "pathname" set to null and // futimens - futimens(3) calls utimensat(2) with "pathname" set to null and
......
...@@ -117,7 +117,6 @@ func sysSetxattr(path string, attr string, val []byte, flag int) error { ...@@ -117,7 +117,6 @@ func sysSetxattr(path string, attr string, val []byte, flag int) error {
return syscall.Setxattr(path, attr, val, flag) return syscall.Setxattr(path, attr, val, flag)
} }
const _AT_SYMLINK_NOFOLLOW = 0x100 const _AT_SYMLINK_NOFOLLOW = 0x100
// Linux kernel syscall utimensat(2) // Linux kernel syscall utimensat(2)
......
package pathfs package pathfs
import ( import (
"reflect"
"os" "os"
"testing" "reflect"
"syscall" "syscall"
"testing"
) )
func TestSysUtimensat(t *testing.T) { func TestSysUtimensat(t *testing.T) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment