diff options
author | Patrick Steinhardt <ps@pks.im> | 2019-06-29 09:17:32 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2019-07-20 19:11:20 +0200 |
commit | e54343a4024e75dfaa940e652c2c9799d33634b2 (patch) | |
tree | b483b313f4280db51a2a5aa29f53e6e9a2b2eb86 /tests/repo | |
parent | 1f44079cae42864cb51d98ca57f5d1f4d8296693 (diff) | |
download | libgit2-e54343a4024e75dfaa940e652c2c9799d33634b2.tar.gz |
fileops: rename to "futils.h" to match function signatures
Our file utils functions all have a "futils" prefix, e.g.
`git_futils_touch`. One would thus naturally guess that their
definitions and implementation would live in files "futils.h" and
"futils.c", respectively, but in fact they live in "fileops.h".
Rename the files to match expectations.
Diffstat (limited to 'tests/repo')
-rw-r--r-- | tests/repo/config.c | 2 | ||||
-rw-r--r-- | tests/repo/discover.c | 2 | ||||
-rw-r--r-- | tests/repo/env.c | 2 | ||||
-rw-r--r-- | tests/repo/init.c | 2 | ||||
-rw-r--r-- | tests/repo/open.c | 2 | ||||
-rw-r--r-- | tests/repo/setters.c | 2 | ||||
-rw-r--r-- | tests/repo/shallow.c | 2 | ||||
-rw-r--r-- | tests/repo/state.c | 2 | ||||
-rw-r--r-- | tests/repo/template.c | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/tests/repo/config.c b/tests/repo/config.c index a397ee525..6ca31f550 100644 --- a/tests/repo/config.c +++ b/tests/repo/config.c @@ -1,6 +1,6 @@ #include "clar_libgit2.h" #include "sysdir.h" -#include "fileops.h" +#include "futils.h" #include <ctype.h> static git_buf path = GIT_BUF_INIT; diff --git a/tests/repo/discover.c b/tests/repo/discover.c index cc61c7125..c026eefc3 100644 --- a/tests/repo/discover.c +++ b/tests/repo/discover.c @@ -1,7 +1,7 @@ #include "clar_libgit2.h" #include "odb.h" -#include "fileops.h" +#include "futils.h" #include "repository.h" #define TEMP_REPO_FOLDER "temprepo/" diff --git a/tests/repo/env.c b/tests/repo/env.c index 9dafda198..024661692 100644 --- a/tests/repo/env.c +++ b/tests/repo/env.c @@ -1,5 +1,5 @@ #include "clar_libgit2.h" -#include "fileops.h" +#include "futils.h" #include "sysdir.h" #include <ctype.h> diff --git a/tests/repo/init.c b/tests/repo/init.c index 9879ef1f7..9eee830e2 100644 --- a/tests/repo/init.c +++ b/tests/repo/init.c @@ -1,5 +1,5 @@ #include "clar_libgit2.h" -#include "fileops.h" +#include "futils.h" #include "repository.h" #include "config.h" #include "path.h" diff --git a/tests/repo/open.c b/tests/repo/open.c index 5c08a388c..edcf93fe1 100644 --- a/tests/repo/open.c +++ b/tests/repo/open.c @@ -1,5 +1,5 @@ #include "clar_libgit2.h" -#include "fileops.h" +#include "futils.h" #include "sysdir.h" #include <ctype.h> diff --git a/tests/repo/setters.c b/tests/repo/setters.c index ea6ef12b1..1fac627f6 100644 --- a/tests/repo/setters.c +++ b/tests/repo/setters.c @@ -5,7 +5,7 @@ #include "posix.h" #include "util.h" #include "path.h" -#include "fileops.h" +#include "futils.h" static git_repository *repo; diff --git a/tests/repo/shallow.c b/tests/repo/shallow.c index b9a7b810b..adb7a9e44 100644 --- a/tests/repo/shallow.c +++ b/tests/repo/shallow.c @@ -1,5 +1,5 @@ #include "clar_libgit2.h" -#include "fileops.h" +#include "futils.h" static git_repository *g_repo; diff --git a/tests/repo/state.c b/tests/repo/state.c index fb8949775..afb361787 100644 --- a/tests/repo/state.c +++ b/tests/repo/state.c @@ -2,7 +2,7 @@ #include "buffer.h" #include "refs.h" #include "posix.h" -#include "fileops.h" +#include "futils.h" static git_repository *_repo; static git_buf _path; diff --git a/tests/repo/template.c b/tests/repo/template.c index 7ccd93521..3513190ac 100644 --- a/tests/repo/template.c +++ b/tests/repo/template.c @@ -1,6 +1,6 @@ #include "clar_libgit2.h" -#include "fileops.h" +#include "futils.h" #include "repo/repo_helpers.h" #define CLEAR_FOR_CORE_FILEMODE(M) ((M) &= ~0177) |