Skip to content

Conversation

@5saviahv
Copy link
Collaborator

@5saviahv 5saviahv commented Jun 9, 2024

added addLocalFolderAsync2

  • it uses node.js callback style
  • callback is last argument like most node.js functions do
  • idea is later replace addLocalFolderAsync witrh this
  • is internally more async than former
  • default disabled "namefix" what is always enabled in addLocalFolderAsync and wont let use names with not latin1 names

updated addLocalFolder

  • uses internally addLocalFile
  • is more consistent this way

added tests for updated functions & stream lined with other tests

@5saviahv 5saviahv merged commit a8ddc64 into cthackers:master Jun 9, 2024
addLocalFolderAsync2: function (/*String*/ options, /*Function*/ callback) {
const self = this;
options = typeof options === "object" ? options : { localPath: options };
localPath = pth.resolve(fixPath(options.localPath));
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

localPath is not defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants