Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-03Fix file system type detection on *BSD and Darwin.Michael Hofmann
This commit adds support for DragonFly BSD, FreeBSD and OpenBSD to the internal/helper/fstype package and fixes the implementation on Darwin. On each of these platforms, fstype.FileSystem will call statfs(2) and use the f_fstypename member of struct statfs to determine the file system type. Unfortunately, the Go wrapper for this struct uses differently named fields on OpenBSD and the other supported systems. For this reason, a separate implementation for OpenBSD is included.
2019-06-12Cast FsStat syscall to int64Zeger-Jan van de Weg
On for example ARMv6 this syscall will return an int32 instead of an int64. By explicitly casting this would still work as Golangs type inferencer will work in both occasions. Closes https://gitlab.com/gitlab-org/gitaly/issues/1726
2019-05-27Expose the FileSystem name on the storage infoZeger-Jan van de Weg
Allowing GitLab to detect NFS requires a statfs syscall and remapping that value to a string value. For the `MAGIC` numbers, as found in `man 2 statfs`, the names are mapped as mentioned there. The only exceptions are the EXT values, as these had duplicate keys. Part of: https://gitlab.com/gitlab-org/gitlab-ce/issues/60602