💎
Net::FTP用のRBS(随時更新)
net-ftp.rbs
module Net
class FTP
def initialize: (String host, ?String user, ?String passwd) -> void
def closed?: -> bool
def close: -> void
def mlsd: (?path pathname) -> Array[MLSxEntry]
| (?path pathname) {(MLSxEntry) -> void} -> void
def getbinaryfile: (path remotefile, ?path? localfile, ?Integer blocksize) ?{(String data) -> void} -> void
class MLSxEntry
def directory?: -> bool
def file?: -> bool
def pathname: -> String
end
end
end
随時更新とは言ったもののあまり使う機会無いからそんなに更新しなさそう・・・。
Discussion