WPIUUBJIWL7MFUHHBHXXRDCWYE6RCJYUHZS524TD2MYX74AOAIEAC
J6DDODYY2UH5C6KWHJET5CJNKVSSTLCLOQH7U3R7WGI5MX5EYFZQC
7A3NMQ6QLJBGUXO4YWSBSDLP6MBZXBRCMMLO72R5HLCYOAYF7TYQC
L3VOQYAF3HCAFWJ7QFULL54WUZ35B4K3MWU5YDRW7R4VTXSDWJUQC
GNQD74OZ56J2R23GVUGFP3G5KVML2KDZ4OUZK6SVLSM7HVO2WOCAC
ZGMIJNFVDK7R6AF56FNCA23W5KV3HVBUBPTWMLQADCEPB3MOPELQC
H3GAPFUC4TCMSLC3O4LUNQNHRANRNVIOQJRTZT4XQ3AUXFHTW4CAC
WCQM6IOKVTDHAVVFMQKGILO4TMKC5L636AR2Q7IT5UXUHUI7XG5AC
import { Event, TreeDataProvider, TreeItem, TreeItemCollapsibleState, Uri } from 'vscode';
import { PijulChange, Repository } from '../pijul';
import * as path from 'path';
import { Event, TreeDataProvider, TreeItem, TreeItemCollapsibleState, Uri, workspace } from 'vscode';
import { PijulChange, PijulFileChange, Repository } from '../pijul';
contextValue: 'pijulChangedFile'
// TODO: Command and Tooltip
contextValue: 'pijulChangedFile',
tooltip: `${element.operations.join(', ')} in ${relativePath}`,
command: {
command: 'vscode.open',
title: 'Open Change TOML',
arguments: [element.path]
}
) {}
}
/**
* Class representing a change that was made to a file
*/
export class PijulFileChange {
/**
* Create a new instance of a pijul file change
* @param path The path of the file that was changed
* @param operations The operations that were performed on the file (Edit, Replacement, etc.)
*/
constructor (
public readonly path: Uri,
public readonly operations: string[]