From the Digitakt manual:
“A sample that is used in a Sound or a pattern can be renamed or moved and still work as intended. This is due to a hash function that adds a file specific value to every file, and this value is independent of the file name or the file’s location in the data structure. However, if you delete a sample, it will not be included in any Sounds or patterns anymore.”