Skip to content

Commit

Permalink
Renamed WriteFileInto to WriteIntoFile, which describes the functiona…
Browse files Browse the repository at this point in the history
…lity more accurately
  • Loading branch information
Wuerstchen committed Aug 25, 2022
1 parent 99987d6 commit eb3bd98
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/XrdCl/XrdClZipArchive.cc
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ namespace XrdCl
/*
* Writes a buffer into the file at an offset. Not tested with compressed archives.
*/
XRootDStatus ZipArchive::WriteFileInto(const std::string &fn, uint64_t relativeOffset,
XRootDStatus ZipArchive::WriteIntoFile(const std::string &fn, uint64_t relativeOffset,
uint32_t size, uint32_t chksum, const void *usrbuff, ResponseHandler *handler,
uint16_t timeout) {
if (openstage != ZipArchive::Done || !archive.IsOpen())
Expand Down
2 changes: 1 addition & 1 deletion src/XrdCl/XrdClZipArchive.hh
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ namespace XrdCl
//! @param timeout : operation timeout
//! @return : the status of the operation
//-----------------------------------------------------------------------
XRootDStatus WriteFileInto( const std::string &fn,
XRootDStatus WriteIntoFile( const std::string &fn,
uint64_t offset,
uint32_t size,
uint32_t chksum,
Expand Down
2 changes: 1 addition & 1 deletion src/XrdCl/XrdClZipOperations.hh
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ namespace XrdCl
const void *buffer = std::get<BufferArg>( this->args ).Get();
uint16_t timeout = pipelineTimeout < this->timeout ?
pipelineTimeout : this->timeout;
return this->zip->WriteFileInto( fn, offset, size, crc32, buffer, handler, timeout );
return this->zip->WriteIntoFile( fn, offset, size, crc32, buffer, handler, timeout );
}
};

Expand Down

0 comments on commit eb3bd98

Please sign in to comment.