tramp-handle-file-modes

tramp-handle-file-modes is a compiled Lisp function in `tramp.el'.

(tramp-handle-file-modes FILENAME)

Like `file-modes' for Tramp files.