diff options
| author | xuri <xuri.me@gmail.com> | 2021-07-09 00:04:58 +0800 |
|---|---|---|
| committer | xuri <xuri.me@gmail.com> | 2021-07-09 00:04:58 +0800 |
| commit | 2ced00d6a82f993094858e60127d4f817ad788e3 (patch) | |
| tree | 82b36f5896facefffb04c91a3422abcc6498f338 /file.go | |
| parent | 4f0d676eb765472d1fe7a29cacd165b982785bd2 (diff) | |
This closes #872, support re-save the new spreadsheet after `SaveAs`
Diffstat (limited to 'file.go')
| -rw-r--r-- | file.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -68,6 +68,7 @@ func (f *File) SaveAs(name string, opt ...Options) error { if len(name) > MaxFileNameLength { return ErrMaxFileNameLength } + f.Path = name file, err := os.OpenFile(name, os.O_WRONLY|os.O_TRUNC|os.O_CREATE, 0666) if err != nil { return err |
