#String <-> Directory

1 messages · Page 1 of 1 (latest)

copper tulip
#

Are you trying to open a subdirectory of a given directory?

#

For example in Go:

func subdir(dir *Directory, path string) *Directory {
 return dir.Directory(path)
}
dusky edge
#

I just wanted to accept a string parameter like path for my function then I want to create a directory from it and pass it to the container with mounteddirectory

copper tulip
#

create a directory from it

I don't know what you mean by that part. Where do you want to create the directory? On your local filesystem?

dusky edge
#

create a directory from it
I mean *Directory, sorry for the misunderstanding