コード例 #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);