diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-01 21:12:23 -0400 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-09 15:17:18 +0000 |
| commit | 1217c5b232a2343f711ecf4c4ed38211ee6a268a (patch) | |
| tree | e5fac2ac10e26f42766127da3e742eef4eb942ef /src/fs_path.h | |
| parent | 622514095fd1d731d35b0d69608911445ba3b0c4 (diff) | |
| download | libgit2-1217c5b232a2343f711ecf4c4ed38211ee6a268a.tar.gz | |
fs_path: remove now-unused validation functions
Diffstat (limited to 'src/fs_path.h')
| -rw-r--r-- | src/fs_path.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/fs_path.h b/src/fs_path.h index 116e8f912..dcedd5eb5 100644 --- a/src/fs_path.h +++ b/src/fs_path.h @@ -726,28 +726,6 @@ GIT_INLINE(int) git_fs_path_validate_filesystem( } /** - * Validate a path relative to the repo's worktree. This ensures that - * the given working tree path is valid for the operating system/platform. - * This will ensure that an absolute path is smaller than MAX_PATH on - * Windows, while keeping `core.longpaths` configuration settings in mind. - * - * This should be checked by mechamisms like `git_checkout` after - * contructing on-disk paths and before trying to write them. - * - * If the repository is null, no repository configuration is applied. - */ -extern int git_fs_path_validate_workdir( - git_repository *repo, - const char *path); -extern int git_fs_path_validate_workdir_with_len( - git_repository *repo, - const char *path, - size_t path_len); -extern int git_fs_path_validate_workdir_buf( - git_repository *repo, - git_str *buf); - -/** * Convert any backslashes into slashes */ int git_fs_path_normalize_slashes(git_str *out, const char *path); |
