make format

This commit is contained in:
Jakob Unterwurzacher 2022-08-28 11:11:36 +02:00
parent 4808adc761
commit 003a7fa2e5
22 changed files with 24 additions and 6 deletions

View File

@ -1,4 +1,5 @@
//+build linux
//go:build linux
// +build linux
/*
Small tool to try to debug unix.Getdents problems on CIFS mounts

View File

@ -1,3 +1,4 @@
//go:build go1.7
// +build go1.7
// ^^^^^^^^^^^^ we use the "sub-benchmark" feature that was added in Go 1.7

View File

@ -65,7 +65,7 @@ func NewRootNode(args fusefrontend.Args, c *contentenc.ContentEnc, n *nametransf
}
shortNameMax = n.GetLongNameMax() * 3 / 4
shortNameMax = shortNameMax - shortNameMax % 16 - 1
shortNameMax = shortNameMax - shortNameMax%16 - 1
rn := &RootNode{
args: args,

View File

@ -38,7 +38,6 @@ func (n *VirtualConfNode) Getattr(ctx context.Context, fh fs.FileHandle, out *fu
return 0
}
// Check that we have implemented the fs.File* interfaces
var _ = (fs.FileReader)((*VirtualConfFile)(nil))
var _ = (fs.FileReleaser)((*VirtualConfFile)(nil))

View File

@ -1,3 +1,4 @@
//go:build !without_openssl
// +build !without_openssl
package stupidgcm

View File

@ -1,3 +1,4 @@
//go:build !without_openssl
// +build !without_openssl
package stupidgcm

View File

@ -1,3 +1,4 @@
//go:build !without_openssl
// +build !without_openssl
package stupidgcm

View File

@ -1,3 +1,4 @@
//go:build cgo && !without_openssl
// +build cgo,!without_openssl
package stupidgcm

View File

@ -1,3 +1,4 @@
//go:build !without_openssl
// +build !without_openssl
package stupidgcm

View File

@ -1,3 +1,4 @@
//go:build !without_openssl
// +build !without_openssl
// We compare against Go's built-in GCM implementation. Since stupidgcm only

View File

@ -1,3 +1,4 @@
//go:build !without_openssl
// +build !without_openssl
package stupidgcm

View File

@ -1,3 +1,4 @@
//go:build !without_openssl
// +build !without_openssl
package stupidgcm

View File

@ -1,3 +1,4 @@
//go:build without_openssl
// +build without_openssl
package stupidgcm

View File

@ -1,3 +1,4 @@
//go:build !without_openssl
// +build !without_openssl
// Copyright 2018 The Go Authors. All rights reserved.

View File

@ -1,3 +1,4 @@
//go:build !without_openssl
// +build !without_openssl
package stupidgcm

View File

@ -1,3 +1,4 @@
//go:build linux
// +build linux
package syscallcompat

View File

@ -1,3 +1,4 @@
//go:build linux
// +build linux
package syscallcompat

View File

@ -1,3 +1,4 @@
//go:build race
// +build race
package main

View File

@ -1,3 +1,4 @@
//go:build linux
// +build linux
package defaults

View File

@ -1,4 +1,5 @@
//+build linux
//go:build linux
// +build linux
// Package root_test contains tests that need root
// permissions to run

View File

@ -1,4 +1,5 @@
//+build linux
//go:build linux
// +build linux
// Darwin does not support Fgetxattr and friends!