Merge remote-tracking branch 'origin/master'

This commit is contained in:
HFO4 2022-10-08 19:24:57 +08:00
commit 63b536e5db

View file

@ -407,6 +407,7 @@ func (handler *Driver) Meta(ctx context.Context, path string) (*MetaData, error)
if err != nil {
return nil, err
}
defer res.Body.Close()
return &MetaData{
Size: uint64(*res.ContentLength),