createFID

@JvmStatic
fun createFID(file: File): String(source)

Creates an ID based off of the provided file's canonicalPath2.

The resulting string is the product of the path's UTF-8 encoded bytes double hashed using SHA-256, and then Base16 (hex) encoded.

See also

Throws

If absoluteFile2 has to reference the filesystem to construct an absolute path and fails due to a filesystem security exception.