Commit 3dac50b0 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Document FileSystemDebug.

parent 19b657d8
...@@ -19,6 +19,9 @@ const ( ...@@ -19,6 +19,9 @@ const (
type getter func() []byte type getter func() []byte
// FileSystemDebug exposes a .debug directory, exposing files for
// which a read hooks into a callback. This is useful for exporting
// metrics and debug information from the daemon.
type FileSystemDebug struct { type FileSystemDebug struct {
sync.RWMutex sync.RWMutex
callbacks map[string]getter callbacks map[string]getter
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment