mirror of https://github.com/spf13/afero.git
add sftpfs Sync method
This commit is contained in:
parent
2868226784
commit
cae24fe28b
|
@ -53,7 +53,7 @@ func (f *File) Stat() (os.FileInfo, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *File) Sync() error {
|
func (f *File) Sync() error {
|
||||||
return nil
|
return f.fd.Sync()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *File) Truncate(size int64) error {
|
func (f *File) Truncate(size int64) error {
|
||||||
|
|
Loading…
Reference in New Issue