History log of /haiku/src/kits/storage/CopyEngine.cpp
Revision Date Author Comments
# 711e2dc0 01-Dec-2021 Augustin Cavalier <waddlesplash@gmail.com>

Adjust all struct dirent creations (again), this time to use offsetof().

The dirent struct is not packed, so offsetof(dirent, d_name) != sizeof(dirent).
Thus in order not to waste the alignment bytes (which are significant,
on x86_64 at least, sizeof(dirent)==32, but offsetof(...)=26.)

This is also the most portable way to handle things, and should
work just fine in cross-platform code that has a non-zero-sized d_name.


# 4cf3529c 26-Sep-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

BCopyEngine: Add base class BEntryOperationEngineBase

It contains a helper class Entry, which allows to generalize the
BCopyEngine::CopyEntry() parameters.


# 617be97d 27-Aug-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Add private storage kit class BCopyEngine

It provides the functionality to copy file system entries (also
recursively). The code originates from the copyattr sources. Some
copyattr specific functionality has been removed and the code has been
adjusted for library use (i.e. no exit()s or fprintf()s). An optional
controller object can be set to customize the behavior.


# 4cf3529cbbd27b670dc63c7de2ce237d0bdce852 26-Sep-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

BCopyEngine: Add base class BEntryOperationEngineBase

It contains a helper class Entry, which allows to generalize the
BCopyEngine::CopyEntry() parameters.


# 617be97d8e2628f297d7308737039c05545c7115 27-Aug-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Add private storage kit class BCopyEngine

It provides the functionality to copy file system entries (also
recursively). The code originates from the copyattr sources. Some
copyattr specific functionality has been removed and the code has been
adjusted for library use (i.e. no exit()s or fprintf()s). An optional
controller object can be set to customize the behavior.