GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( b588b4...b187c4 )
by
unknown
10:06
created

credentials/providers/lock_unix.go   A

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
cc 2
eloc 7
dl 0
loc 14
rs 10
c 0
b 0
f 0
1
// +build !windows
2
3
package providers
4
5
import (
6
	"syscall"
7
)
8
9
// lockFile acquires an exclusive lock on the file descriptor
10
func lockFile(fd int) error {
11
	return syscall.Flock(fd, syscall.LOCK_EX)
12
}
13
14
// unlockFile releases the lock on the file descriptor
15
func unlockFile(fd int) error {
16
	return syscall.Flock(fd, syscall.LOCK_UN)
17
}
18