mirror of
https://github.com/postgres/postgres.git
synced 2025-11-25 12:03:53 +03:00
Reported-by: Michael Paquier Discussion: https://postgr.es/m/ZZKTDPxBBMt3C0J9@paquier.xyz Backpatch-through: 12
20 lines
589 B
C
20 lines
589 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* copydir.h
|
|
* Copy a directory.
|
|
*
|
|
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* src/include/storage/copydir.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef COPYDIR_H
|
|
#define COPYDIR_H
|
|
|
|
extern void copydir(const char *fromdir, const char *todir, bool recurse);
|
|
extern void copy_file(const char *fromfile, const char *tofile);
|
|
|
|
#endif /* COPYDIR_H */
|