1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-07 19:17:21 +00:00

Update swagger to 0.20.1 (#8010)

* update swagger to 0.20.1

* fiw swagger version for validate
This commit is contained in:
Antoine GIRARD
2019-08-28 08:55:22 +02:00
committed by GitHub
parent e0f95d1545
commit 256b178176
100 changed files with 6410 additions and 1259 deletions

View File

@ -89,7 +89,6 @@ func direntNamlen(buf []byte) (uint64, bool) {
return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen))
}
//sys ptrace(request int, pid int, addr uintptr, data uintptr) (err error)
func PtraceAttach(pid int) (err error) { return ptrace(PT_ATTACH, pid, 0, 0) }
func PtraceDetach(pid int) (err error) { return ptrace(PT_DETACH, pid, 0, 0) }