MCPcopy Create free account
hub / github.com/apache/ant / isUpToDate

Method isUpToDate

src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java:2124–2179  ·  view source on GitHub ↗

Checks to see if the remote file is current as compared with the local file. Returns true if the target file is up to date. @param ftp ftpclient @param localFile local file @param remoteFile remote file @return true if the target file is up to date @throws IOException in unknown circumstances @thro

(FTPClient ftp, File localFile,
                                 String remoteFile)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

sendFileMethod · 0.95
getFileMethod · 0.95

Calls 7

formatMethod · 0.80
logMethod · 0.65
listFilesMethod · 0.45
getTimestampMethod · 0.45
lastModifiedMethod · 0.45
appendMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected