Ejemplo n.º 1
0
 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);
Ejemplo n.º 2
0
 public static extern int git_config_open_global(out ConfigurationSafeHandle cfg);
Ejemplo n.º 3
0
 public static extern int git_config_open_ondisk(
     out ConfigurationSafeHandle cfg,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string path);
Ejemplo n.º 4
0
 public static extern int git_config_new(out ConfigurationSafeHandle cfg);
Ejemplo n.º 5
0
 public static extern void git_repository_set_config(
     RepositorySafeHandle repository,
     ConfigurationSafeHandle index);
Ejemplo n.º 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);
Ejemplo n.º 7
0
 public static extern int git_config_add_file_ondisk(
     ConfigurationSafeHandle cfg,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(FilePathMarshaler))] FilePath path,
     int priority);
Ejemplo n.º 8
0
 internal static extern int git_config_foreach(
     ConfigurationSafeHandle cfg,
     config_foreach_callback callback,
     IntPtr payload);
Ejemplo n.º 9
0
 internal static extern void git_repository_set_config(
     RepositorySafeHandle repository,
     ConfigurationSafeHandle config);
Ejemplo n.º 10
0
 internal static extern int git_config_open_level(
     out ConfigurationSafeHandle cfg,
     ConfigurationSafeHandle parent,
     uint level);
Ejemplo n.º 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);
Ejemplo n.º 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);
Ejemplo n.º 13
0
 internal static extern int git_config_get_entry(
     out GitConfigEntryHandle entry,
     ConfigurationSafeHandle cfg,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string name);
Ejemplo n.º 14
0
 internal static extern int git_config_delete_entry(ConfigurationSafeHandle cfg, string name);
Ejemplo n.º 15
0
 public static extern int git_repository_config(
     out ConfigurationSafeHandle cfg,
     RepositorySafeHandle repo);
Ejemplo n.º 16
0
 public static extern int git_config_get_int32(
     out int value,
     ConfigurationSafeHandle cfg,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string name);
Ejemplo n.º 17
0
 public static extern int git_config_delete(ConfigurationSafeHandle cfg, string name);
Ejemplo n.º 18
0
 public static extern int git_remote_get(
     out RemoteSafeHandle remote,
     ConfigurationSafeHandle cfg,
     [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8Marshaler))] string name);