async function _readTag({ fs, cache, gitdir, oid }) {
  const { type, object } = await readObject({
    fs,
    cache,
    gitdir,
    oid,
    format: 'content',
  })
  if (type !== 'tag') {
    throw new ObjectTypeError(oid, type, 'tag')
  }
  const tag = GitAnnotatedTag.from(object)
  const result = {
    oid,
    tag: tag.parse(),
    payload: tag.payload(),
  }
  // @ts-ignore
  return result
}
@param {object} args
@param {import('../models/FileSystem.js').FileSystem} args.fs
@param {any} args.cache
@param {string} args.gitdir
@param {string} args.oid

@returns {Promise<ReadTagResult>}