@local_handler()
def lstat(shell, filename):
    s =  shell.localhost.stat(filename)

    print ' Is file:      %r' % stat.S_ISREG(s.st_mode)
    print ' Is directory: %r' % stat.S_ISDIR(s.st_mode)
    print
    print ' Size:         %r bytes' % int(s.st_size)
    print
    print ' st_uid:       %r' % s.st_uid
    print ' st_gid:       %r' % s.st_gid
    print ' st_mode:      %r' % s.st_mode
Print stat information for this local file.
dataset/ETHPy150Open jonathanslenders/python-deployer/deployer/scp_shell.py/lstat