[REQ] FileSystem plugin model update

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
djorge
Senior Member
Senior Member
Posts: 422
Joined: 2003-07-03, 12:48 UTC
Location: Portugal

[REQ] FileSystem plugin model update

Post by *djorge »

At the moment it is impossible to know if a directory its being moved to child of the same dir.

When i try to move a Directory from the plugin to plugin current FS architecture calls FsMkDir and after FsRenMovFile for each file of the Directory.

FsMkDir should have another argument signaling that the FsMkDir was called because a Directory is being moved. Plugin authors could use that switch to check if the move dir is valid or not. Compatibility with previous plugin is also maintained.

Althought i think the best solution is that TC SHOULD NOT call FsMkDir during a move dir. It should be the responsibility of the plugin developer to create missing directories. I haven't seen a plugin that allows an user to move a directory, so it would remain compatible with all FS plugins.

For complete description of the problem check http://www.ghisler.ch/board/viewtopic.php?t=9678[/url]
______________________
David Jorge
Personal License #117854
Post Reply