2026/07/21

From WoozleCodes
Jump to navigation Jump to search
Tuesday, July 21, 2026 (#202)
prev ⇐ Monday Tuesday Wednesday

References

Main Work

Ferreteria FileSys stuff in order to support sftp in FTM

The thing I'm currently trying to figure out is where IO\core\DirList actually belongs.

  • If it's actually a "core" clade, then does it need to work differently for native an #phpseclib, or does phpseclib just produce a stream or something which can then be operated on natively?
  • Does it belong under IO\core or should it be under Sys\FileSys\Node?

The part that makes it slightly confusing, I think, is that I want a clade which can handle either a directory listing or the results of a globbing operation but (now that I think about it) not necessarily a list of files from arbitrary locations.

...and now that I consider that last requirement, maybe it would actually be better to support that? Then you can take a directory listing or a glob-list and convert it to a list of complete filespecs, which can then go in a list of full filespecs that do not necessarily share a common parent folder, which (in turn) can be utilized with less additional external processing.

  • ...which, as it happens, is what Sys\FileSys\Node\list\Nodes (fka Sys\FileSys\list\Nodes) is for.

(Incidental Thought: maybe "PSpec" should be "LSpec", with L for "local". P for "path" is somewhat descriptive in that a USpec/URL isn't just a path, but "local" feels more evocative.)