Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConcurrentMapFS ¶
type ConcurrentMapFS struct {
// contains filtered or unexported fields
}
ConcurrentMapFS implements fs.FS and provides synchronized modification methods. This is intended as a replacement for fstest.MapFS that is safe to use concurrently.
func NewConcurrentMapFS ¶
func NewConcurrentMapFS(mapFS fstest.MapFS) *ConcurrentMapFS
func (*ConcurrentMapFS) Delete ¶
func (cmfs *ConcurrentMapFS) Delete(path string)
Click to show internal directories.
Click to hide internal directories.