Dmitriy Matrenichev
45e6e27af7
chore: bump runtime
...
Use new functions and methods from runtime module.
Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2023-05-11 17:18:08 -04:00
Andrey Smirnov
f661d84877
fix: allow talosctl cp
to handle special files in /proc
...
There is some refactoring to simplify things, but mostly handle files
which report size 0 in `stat`, but actually contain data when read.
We try to read up to the small buffer, if we read whole file, we use
that as contents, otherwise we still skip the file, as we need to write
tar header with size _before_ we read the whole file.
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2023-04-24 15:07:30 +04:00
Alexey Palazhchenko
df52c13581
chore: fix //nolint directives
...
That's the recommended syntax:
https://golangci-lint.run/usage/false-positives/
Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-03-05 05:58:33 -08:00
Andrey Smirnov
8560fb9662
chore: enable nlreturn linter
...
Most of the fixes were automatically applied.
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-11-09 06:48:07 -08:00
Andrey Smirnov
d3d011c8d2
chore: replace /* */
comments with //
comments in license header
...
This fixes issues with `// +build` directives not being recognized in
source files.
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-10-25 14:15:17 -07:00
Andrey Smirnov
c2cb0f9778
chore: enable 'wsl' linter and fix all the issues
...
I wish there were less of them :)
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-10-10 01:16:29 +03:00
Andrew Rynhard
90c91807bd
refactor: restructure the project layout
...
This change moves packages into more appropriate places.
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-08-01 22:19:42 -07:00