… | |
… | |
385 | will not be sorted, and will NOT include the "." and ".." entries. |
385 | will not be sorted, and will NOT include the "." and ".." entries. |
386 | |
386 | |
387 | The callback a single argument which is either "undef" or an |
387 | The callback a single argument which is either "undef" or an |
388 | array-ref with the filenames. |
388 | array-ref with the filenames. |
389 | |
389 | |
|
|
390 | aio_load $path, $data, $callback->($status) |
|
|
391 | This is a composite request that tries to fully load the given file |
|
|
392 | into memory. Status is the same as with aio_read. |
|
|
393 | |
390 | aio_copy $srcpath, $dstpath, $callback->($status) |
394 | aio_copy $srcpath, $dstpath, $callback->($status) |
391 | Try to copy the *file* (directories not supported as either source |
395 | Try to copy the *file* (directories not supported as either source |
392 | or destination) from $srcpath to $dstpath and call the callback with |
396 | or destination) from $srcpath to $dstpath and call the callback with |
393 | the 0 (error) or -1 ok. |
397 | the 0 (error) or -1 ok. |
394 | |
398 | |