UNPKG

@sap/generator-cap-project

Version:

Creates a new SAP Cloud Application Programming Model project.

23 lines (22 loc) 1.24 kB
import { MemFsEditorFile } from './index.js'; export declare const setFileState: (file: MemFsEditorFile, state: any) => void; export declare const isFileNew: (file: MemFsEditorFile) => boolean; export declare const isFileStateModified: (file: MemFsEditorFile) => boolean; export declare const setModifiedFileState: (file: MemFsEditorFile) => void; export declare const isFileStateDeleted: (file: MemFsEditorFile) => boolean; export declare const setDeletedFileState: (file: MemFsEditorFile) => void; export declare const isFilePending: (file: MemFsEditorFile) => boolean; export declare const setCommittedFile: (file: MemFsEditorFile) => void; export declare const isFileCommitted: (file: MemFsEditorFile) => boolean; export declare const resetFileState: (file: MemFsEditorFile) => void; /** * Delete commit related states. */ export declare const resetFileCommitStates: (file: MemFsEditorFile) => void; /** * Delete all mem-fs-editor`s related states. */ export declare const resetFile: (file: MemFsEditorFile) => void; export declare const clearFileState: (file: MemFsEditorFile) => void; export declare const hasState: (file: MemFsEditorFile) => boolean; export declare const hasClearedState: (file: MemFsEditorFile) => boolean;