| 1 |
Source: golang-github-client9-reopen |
| 2 |
Maintainer: Debian Go Packaging Team <[email protected]> |
| 3 |
Uploaders: Pirate Praveen <[email protected]> |
| 4 |
Section: devel |
| 5 |
Testsuite: autopkgtest-pkg-go |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 12), |
| 8 |
dh-golang, |
| 9 |
golang-any |
| 10 |
Standards-Version: 4.5.0 |
| 11 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-client9-reopen |
| 12 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-client9-reopen.git |
| 13 |
Homepage: https://github.com/client9/reopen |
| 14 |
Rules-Requires-Root: no |
| 15 |
XS-Go-Import-Path: github.com/client9/reopen |
| 16 |
|
| 17 |
Package: golang-github-client9-reopen-dev |
| 18 |
Architecture: all |
| 19 |
Depends: ${misc:Depends} |
| 20 |
Multi-Arch: foreign |
| 21 |
Description: freopen functionality for golang's io.Writers (library) |
| 22 |
Makes a standard os.File a "reopenable writer" and allows SIGHUP signals to |
| 23 |
reopen log files, as needed by logrotated. This is inspired by the C/Posix |
| 24 |
freopen. |
| 25 |
. |
| 26 |
The simple version reopen.NewFileWriter does unbuffered writing. A call |
| 27 |
to .Reopen closes the existing file handle, and then re-opens it using |
| 28 |
the original filename. |
| 29 |
. |
| 30 |
The more advanced version reopen.NewBufferedFileWriter buffers input and |
| 31 |
flushes when the internal buffer is full (with care) or if 30 seconds |
| 32 |
has elapsed. |