Evgenii Stratonikov
b36a453238
Unless tested, generic version can start gaining bugs. With a separate build tag we can have the best of both worlds: 1. Use optimized implementation for linux by default. 2. Run tests or benchmarks for both. Note that they are not actually run automatically now, but this is at leas possible. Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
11 lines
171 B
Go
11 lines
171 B
Go
//go:build !linux || fstree_generic
|
|
|
|
package fstree
|
|
|
|
import (
|
|
"io/fs"
|
|
)
|
|
|
|
func newSpecificWriteData(_ FileCounter, _ string, _ fs.FileMode, _ bool) writer {
|
|
return nil
|
|
}
|