package
0.14.1
Repository: https://github.com/element-hq/dendrite.git
Documentation: pkg.go.dev

# Functions

GetPathFromBase64Hash evaluates the path to a media file from its Base64Hash 3 subdirectories are created for more manageable browsing and use the remainder as the file name.
MoveFileWithHashCheck checks for hash collisions when moving a temporary file to its final path based on metadata The final path is based on the hash of the file.
RemoveDir removes a directory and logs a warning in case of errors.
WriteTempFile writes to a new temporary file.