Sync all file types

This commit is contained in:
Andras Schmelczer 2025-03-20 20:49:23 +00:00
parent 7e1aeb5a9f
commit b00b9521c6
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
2 changed files with 0 additions and 14 deletions

View file

@ -145,10 +145,6 @@ export class FileOperations {
await this.fs.rename(oldPath, newPath);
}
public isFileEligibleForSync(path: RelativePath): boolean {
return isFileTypeMergable(path);
}
private async createParentDirectories(path: string): Promise<void> {
const components = path.split("/");
if (components.length === 1) {

View file

@ -356,16 +356,6 @@ export class UnrestrictedSyncer {
syncSource: SyncSource,
fn: () => Promise<T>
): Promise<T | undefined> {
if (!this.operations.isFileEligibleForSync(relativePath)) {
this.history.addHistoryEntry({
status: SyncStatus.ERROR,
relativePath,
message: `File ${relativePath} is not eligible for syncing`,
type: syncType
});
return;
}
this.logger.debug(
`Syncing ${relativePath} (${syncSource} - ${syncType})`
);