Skip to content

Commit cfc36e9

Browse files
committed
fmt
1 parent 55dfb22 commit cfc36e9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

coderd/files/cache.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,10 @@ type cacheEntry struct {
141141

142142
type fetcher func(context.Context, uuid.UUID) (CacheEntryValue, error)
143143

144-
var _ fs.FS = (*CloseFS)(nil)
145-
var _ io.Closer = (*CloseFS)(nil)
144+
var (
145+
_ fs.FS = (*CloseFS)(nil)
146+
_ io.Closer = (*CloseFS)(nil)
147+
)
146148

147149
// CloseFS is a wrapper around fs.FS that implements io.Closer. The Close()
148150
// method tells the cache to release the fileID. Once all open references are

0 commit comments

Comments
 (0)