mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
cda14447ad
Co-authored-by: Giulio <giulio.rebuffo@gmail.com>
25 lines
322 B
Go
25 lines
322 B
Go
package spectest
|
|
|
|
import (
|
|
"io/fs"
|
|
)
|
|
|
|
type Appendix map[string]*Format
|
|
|
|
func (a Appendix) Add(name string) *Format {
|
|
o := NewFormat()
|
|
a[name] = o
|
|
return o
|
|
}
|
|
|
|
type RunDirectoryOptions struct {
|
|
FS fs.FS
|
|
}
|
|
|
|
type formatRoot struct {
|
|
rawpath string
|
|
handlername string
|
|
format *Format
|
|
root fs.DirEntry
|
|
}
|