v1.16.11
ADDED: * stringsx: ** RunesInString ** RuneMapFromString ** SquashConsec ** SquashConsecRunes ** SquashConsecRunesAll ** SquashMap ** SquashWhitespace
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"io/fs"
|
||||
)
|
||||
|
||||
// Close is a no-op, but used to conform to mergedFsMember.
|
||||
func (e *embedFsMember) Close() (err error) { return }
|
||||
|
||||
// Stat wraps fs.Stat on the embeded filesystem.
|
||||
func (e *embedFsMember) Stat(fnm string) (stat fs.FileInfo, err error) {
|
||||
|
||||
if stat, err = fs.Stat(e.FS, fnm); err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
Reference in New Issue
Block a user