public static extern int git_config_set_string(
     ConfigurationSafeHandle cfg,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string name,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string value);
 public static extern int git_config_open_global(out ConfigurationSafeHandle cfg);
 public static extern int git_config_open_ondisk(
     out ConfigurationSafeHandle cfg,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string path);
Beispiel #4
0
 public static extern int git_config_new(out ConfigurationSafeHandle cfg);
Beispiel #5
0
 public static extern void git_repository_set_config(
     RepositorySafeHandle repository,
     ConfigurationSafeHandle index);
Beispiel #6
0
 public static extern int git_repository_config(
     out ConfigurationSafeHandle cfg,
     RepositorySafeHandle repo,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string userConfigPath,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string systemConfigPath);
Beispiel #7
0
 public static extern int git_config_add_file_ondisk(
     ConfigurationSafeHandle cfg,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(FilePathMarshaler))] FilePath path,
     int priority);
Beispiel #8
0
 internal static extern int git_config_foreach(
     ConfigurationSafeHandle cfg,
     config_foreach_callback callback,
     IntPtr payload);
Beispiel #9
0
 internal static extern void git_repository_set_config(
     RepositorySafeHandle repository,
     ConfigurationSafeHandle config);
Beispiel #10
0
 internal static extern int git_config_open_level(
     out ConfigurationSafeHandle cfg,
     ConfigurationSafeHandle parent,
     uint level);
Beispiel #11
0
 internal static extern int git_config_set_bool(
     ConfigurationSafeHandle cfg,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string name,
     [MarshalAs(UnmanagedType.Bool)] bool value);
Beispiel #12
0
 internal static extern int git_config_add_file_ondisk(
     ConfigurationSafeHandle cfg,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(FilePathMarshaler))] FilePath path,
     uint level,
     bool force);
Beispiel #13
0
 internal static extern int git_config_get_entry(
     out GitConfigEntryHandle entry,
     ConfigurationSafeHandle cfg,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string name);
Beispiel #14
0
 internal static extern int git_config_delete_entry(ConfigurationSafeHandle cfg, string name);
 public static extern int git_repository_config(
     out ConfigurationSafeHandle cfg,
     RepositorySafeHandle repo);
Beispiel #16
0
 public static extern int git_config_get_int32(
     out int value,
     ConfigurationSafeHandle cfg,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string name);
 public static extern int git_config_delete(ConfigurationSafeHandle cfg, string name);
Beispiel #18
0
 public static extern int git_remote_get(
     out RemoteSafeHandle remote,
     ConfigurationSafeHandle cfg,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string name);