![]() |
|
||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|||||
|
|
||||||
| Related Syntax | Other Library Functions | |||||
| function |
vfs.disconnect |
|
Library: General, File system utilities (OMVFS)
Import: omvfs.xmd |
export external function disconnect
value directory dir
Argument definitions
You can use vfs.disconnect to disconnect a vfs.directory connection that is no longer needed. It is not an error to disconnect a vfs.directory that is not connected.
import "omvfs.xmd" prefixed by vfs.
process
local vfs.directory program-directory
. . .
set program-directory to vfs.connect "/foo/bin"
. . .
vfs.disconnect program-directory
The following exceptions may occur: