be4311c07e14feb728abc6425ee606ffaa611a58 markd Fri Jan 22 06:46:58 2021 -0800 merge with master diff --git src/inc/portable.h src/inc/portable.h index 51b3069..7247e9a 100644 --- src/inc/portable.h +++ src/inc/portable.h @@ -173,17 +173,19 @@ char *mustReadSymlinkExt(char *path, struct stat *sb); /* Read symlink or abort. FreeMem the returned value. */ char *mustReadSymlink(char *path); /* Read symlink or abort. Checks that path is a symlink. FreeMem the returned value. */ void makeSymLink(char *oldName, char *newName); /* Return a symbolic link from newName to oldName or die trying */ long long freeSpaceOnFileSystem(char *path); /* Given a path to a file or directory on a file system, return free space * in bytes. */ +boolean remoteFileExists(char *remoteLogin, char *file); +/* Check to see if the file exists on the remote machine. */ #endif /* PORTABLE_H */