Interface FSCompareAndUpdate

    • Method Detail

      • updateFile

        boolean updateFile​(@NotNull
                           File file,
                           @NotNull
                           InputStream stream,
                           int streamLength)
                    throws IOException
        Updates a file with contents of the stream.
        Parameters:
        file - file to update
        stream - stream with new bytes
        stream - length
        Returns:
        true if there was updated bytes in the file
        Throws:
        IOException