package
Version:
v0.3.4
Opens a new window with list of versions in this module.
Published: Apr 18, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func BulkWrite(fsys fs.FS, writes ...BulkWriteRequest) error
BulkWrite accepts multiple write requests and perform them sequentially. If it encounters
an error it stops it's operation and returns this error.
default file permission is 0644.
type BulkWriteRequest struct {
Filename string
Data []byte
Perm os.FileMode
ErrMsg string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.