markmv - v1.26.2
    Preparing search index...

    Interface TransactionStep

    Represents a single atomic operation within a transaction.

    Each step can be executed and rolled back independently, providing the foundation for transactional file operations with full rollback capability.

    interface TransactionStep {
        id: string;
        type:
            | "file-move"
            | "file-copy"
            | "file-delete"
            | "file-create"
            | "content-update";
        description: string;
        execute: () => Promise<void>;
        rollback: () => Promise<void>;
        completed: boolean;
    }
    Index

    Properties

    id: string
    type:
        | "file-move"
        | "file-copy"
        | "file-delete"
        | "file-create"
        | "content-update"
    description: string
    execute: () => Promise<void>
    rollback: () => Promise<void>
    completed: boolean