"Alg is either the literal string "dir" (designating a directory), a string specifying a cryptographic checksum algorithm, or empty to leave it unspecified.
The special case of "dir" is useful for listing an empty directory, which has neither a fixed octetstream over which to compute a digest nor a contained filename to imply the directory's existence."