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