Re: The std.file rename method fails in the docker environment.

2024-03-14 Thread Paolo Invernizzi via Digitalmars-d-learn
On Wednesday, 13 March 2024 at 23:59:24 UTC, zoujiaqing wrote: On Wednesday, 13 March 2024 at 22:16:13 UTC, Sergey wrote: On Wednesday, 13 March 2024 at 21:49:55 UTC, zoujiaqing wrote: this is bug in D. It seems like a bug in Hunt-framework. And Hunt - is an abandoned project. Hunt

Re: The std.file rename method fails in the docker environment.

2024-03-13 Thread zoujiaqing via Digitalmars-d-learn
On Wednesday, 13 March 2024 at 22:16:13 UTC, Sergey wrote: On Wednesday, 13 March 2024 at 21:49:55 UTC, zoujiaqing wrote: this is bug in D. It seems like a bug in Hunt-framework. And Hunt - is an abandoned project. Hunt Framework call std.file rename function. but this function can't move

Re: The std.file rename method fails in the docker environment.

2024-03-13 Thread Sergey via Digitalmars-d-learn
On Wednesday, 13 March 2024 at 21:49:55 UTC, zoujiaqing wrote: this is bug in D. It seems like a bug in Hunt-framework. And Hunt - is an abandoned project.

Re: The std.file rename method fails in the docker environment.

2024-03-13 Thread Jonathan M Davis via Digitalmars-d-learn
On Wednesday, March 13, 2024 3:49:55 PM MDT zoujiaqing via Digitalmars-d-learn wrote: > On Wednesday, 13 March 2024 at 21:21:21 UTC, Jonathan M Davis > > wrote: > > On Wednesday, March 13, 2024 3:03:30 PM MDT zoujiaqing via > > > > Digitalmars-d-learn wrote: > >> upload file to server in docker,

Re: The std.file rename method fails in the docker environment.

2024-03-13 Thread zoujiaqing via Digitalmars-d-learn
On Wednesday, 13 March 2024 at 21:21:21 UTC, Jonathan M Davis wrote: On Wednesday, March 13, 2024 3:03:30 PM MDT zoujiaqing via Digitalmars-d-learn wrote: upload file to server in docker, but upload directory volume to host machine. Exception error: ``` Invalid cross-device link ``` Have

Re: The std.file rename method fails in the docker environment.

2024-03-13 Thread Jonathan M Davis via Digitalmars-d-learn
On Wednesday, March 13, 2024 3:03:30 PM MDT zoujiaqing via Digitalmars-d-learn wrote: > upload file to server in docker, but upload directory volume to > host machine. > > Exception error: > ``` > Invalid cross-device link > ``` > > Have other function like move(a, b) ? > >

The std.file rename method fails in the docker environment.

2024-03-13 Thread zoujiaqing via Digitalmars-d-learn
upload file to server in docker, but upload directory volume to host machine. Exception error: ``` Invalid cross-device link ``` Have other function like move(a, b) ? https://github.com/huntlabs/hunt-framework/blob/master/source/hunt/framework/file/File.d#L102