2017-01-24 19:30:59 +03:00
|
|
|
#ifndef GVFS_H
|
|
|
|
#define GVFS_H
|
|
|
|
|
2017-01-24 19:34:12 +03:00
|
|
|
|
2017-01-24 19:30:59 +03:00
|
|
|
/*
|
|
|
|
* This file is for the specific settings and methods
|
|
|
|
* used for GVFS functionality
|
|
|
|
*/
|
|
|
|
|
2017-01-24 19:38:59 +03:00
|
|
|
|
|
|
|
/*
|
|
|
|
* The list of bits in the core_gvfs setting
|
|
|
|
*/
|
|
|
|
#define GVFS_SKIP_SHA_ON_INDEX (1 << 0)
|
2018-12-06 19:09:19 +03:00
|
|
|
#define GVFS_BLOCK_COMMANDS (1 << 1)
|
2017-01-24 19:54:55 +03:00
|
|
|
#define GVFS_MISSING_OK (1 << 2)
|
2022-09-30 19:59:40 +03:00
|
|
|
|
|
|
|
/*
|
|
|
|
* This behavior of not deleting outside of the sparse-checkout
|
|
|
|
* is specific to the virtual filesystem support. It is only
|
|
|
|
* enabled by VFS for Git, and so can be used as an indicator
|
|
|
|
* that we are in a virtualized filesystem environment and not
|
|
|
|
* in a Scalar environment. This bit has two names to reflect
|
|
|
|
* that.
|
|
|
|
*/
|
2016-05-18 16:40:39 +03:00
|
|
|
#define GVFS_NO_DELETE_OUTSIDE_SPARSECHECKOUT (1 << 3)
|
2022-09-30 19:59:40 +03:00
|
|
|
#define GVFS_USE_VIRTUAL_FILESYSTEM (1 << 3)
|
|
|
|
|
2016-05-30 17:55:53 +03:00
|
|
|
#define GVFS_FETCH_SKIP_REACHABILITY_AND_UPLOADPACK (1 << 4)
|
2016-06-15 17:59:16 +03:00
|
|
|
#define GVFS_BLOCK_FILTERS_AND_EOL_CONVERSIONS (1 << 6)
|
2019-12-17 15:25:40 +03:00
|
|
|
#define GVFS_PREFETCH_DURING_FETCH (1 << 7)
|
2017-01-24 19:38:59 +03:00
|
|
|
|
2017-01-24 19:34:12 +03:00
|
|
|
void gvfs_load_config_value(const char *value);
|
|
|
|
int gvfs_config_is_set(int mask);
|
|
|
|
|
2017-01-24 19:30:59 +03:00
|
|
|
#endif /* GVFS_H */
|