1.7.4.16 newer(EnsureDirs, Src, Target)

-spec newer(boolean(),
            file:filename_all() | [file:filename_all()],
            file:filename_all() |
            [file:filename_all()]) -> boolean().

Version of newer/2 that takes an additional argument that specifies whether to ensure directories for the target files or not.

JavaScript license information