shadow-contract-file-name

shadow-contract-file-name is a compiled Lisp function in `shadowfile.el'.

(shadow-contract-file-name FILE)

Simplify FILE.
Do so by replacing (when possible) home directory with ~, and hostname
with cluster name that includes it. Filename should be absolute and
true.