This commit is contained in:
2026-02-19 10:07:43 +00:00
parent 007438e372
commit 6e637ecf77
1763 changed files with 60820 additions and 279516 deletions

34
vendor/tailscale.com/logtail/filch/filch_omit.go generated vendored Normal file
View File

@@ -0,0 +1,34 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
//go:build ts_omit_logtail
package filch
import "os"
type Options struct {
ReplaceStderr bool
MaxLineSize int
MaxFileSize int
}
type Filch struct {
OrigStderr *os.File
}
func (*Filch) TryReadLine() ([]byte, error) {
return nil, nil
}
func (*Filch) Write(b []byte) (int, error) {
return len(b), nil
}
func (f *Filch) Close() error {
return nil
}
func New(string, Options) (*Filch, error) {
return new(Filch), nil
}