Closed laushunyu closed 1 year ago
@laushunyu you have to use an email related to your GitHub account to create your commit. After that you will have to sign the CLA.
@laushunyu you have to use an email related to your GitHub account to create your commit. After that you will have to sign the CLA.
email corrected😇.
I implemented fs.FS. When the file does not exist,
xerrors.Wrap(fs.ErrNotExist, "")
will be returned. However,os.IsNotExist
cannot handle this situation. I found the following comment:Therefore, we should use
errors.Is(err, fs.ErrNotExist)
instead.