/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
go/kbfs/libfuse/error_file.go
20 строк
524 B
chrisnojima-zoom
Version 670 - clean2 (#29122)
08 июн 2026, 19:31
Не верифицирован
08 июн 2026, 19:31
1943197
Код
Авторство
О чём код?
// Copyright 2016 Keybase Inc. All rights reserved. // Use of this source code is governed by a BSD // license that can be found in the LICENSE file. // //go:build !windows package libfuse import ( "time" "github.com/keybase/client/go/kbfs/libfs" ) // NewErrorFile returns a special read file that contains a text // representation of the last few KBFS errors. func NewErrorFile(fs *FS, entryValid *time.Duration) *SpecialReadFile { *entryValid = 0 return &SpecialReadFile{read: libfs.GetEncodedErrors(fs.config)} }