mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-18 06:22:28 +03:00
Use correct invoke function
This commit is contained in:
parent
bb1b5ce0e5
commit
c1f295f6f4
@ -1,4 +1,4 @@
|
|||||||
import { invoke } from '@tauri-apps/api/tauri';
|
import { invoke } from '$lib/backend/ipc';
|
||||||
|
|
||||||
export class GitConfigService {
|
export class GitConfigService {
|
||||||
async get<T extends string>(key: string): Promise<T | undefined> {
|
async get<T extends string>(key: string): Promise<T | undefined> {
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
* it's here is because the type is in this package.
|
* it's here is because the type is in this package.
|
||||||
*/
|
*/
|
||||||
import { RemoteFile } from './types';
|
import { RemoteFile } from './types';
|
||||||
|
import { invoke } from '$lib/backend/ipc';
|
||||||
import { ContentSection, HunkSection, parseFileSections } from '$lib/utils/fileSections';
|
import { ContentSection, HunkSection, parseFileSections } from '$lib/utils/fileSections';
|
||||||
import { invoke } from '@tauri-apps/api/tauri';
|
|
||||||
import { plainToInstance } from 'class-transformer';
|
import { plainToInstance } from 'class-transformer';
|
||||||
|
|
||||||
export async function listRemoteCommitFiles(projectId: string, commitOid: string) {
|
export async function listRemoteCommitFiles(projectId: string, commitOid: string) {
|
||||||
|
Loading…
Reference in New Issue
Block a user