Skip to content

Commit 7ba539b

Browse files
committed
移除高频操作的log
1 parent 909d7c2 commit 7ba539b

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

bash/webdav/filesystem.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ func (c *Client) Mkdir(ctx context.Context, name string, perm os.FileMode) (err
2323
return
2424
}
2525
func (c *Client) OpenFile(ctx context.Context, name string, flag int, perm os.FileMode) (f webdav.File, err error) {
26-
_, span := tracer.Start(c.Ctx, "fs openfile")
27-
defer span.End()
28-
defer err0.Record(&err, span)
29-
3026
f = OpenFile(c, name)
3127
return
3228
}
@@ -55,10 +51,6 @@ func (c *Client) Rename(ctx context.Context, oldName, newName string) (err error
5551
}
5652

5753
func (c *Client) Stat(ctx context.Context, name string) (f os.FileInfo, err error) {
58-
_, span := tracer.Start(c.Ctx, "fs stat")
59-
defer span.End()
60-
defer err0.Record(&err, span)
61-
6254
item := c.statsCache.Get(name)
6355
if item != nil {
6456
f = item.Value()

0 commit comments

Comments
 (0)