10 #ifndef K_API_DIRECTORY_H
11 #define K_API_DIRECTORY_H
14 #include <kApi/Io/kDirectory.x.h>
kStatus kDirectory_Current(kChar *directory, kSize capacity)
Gets the current working directory.
kStatus kDirectory_SetCurrent(const kChar *directory)
Sets the current working directory.
kStatus kDirectory_Copy(const kChar *source, const kChar *destination)
Copies the specified directory, including all of its contents.
kStatus kDirectory_Move(const kChar *source, const kChar *destination)
Moves the specified directory, including all of its contents.
Represents an unsigned integer that can store a pointer address.
Represents a single unit (byte) in a UTF-8 character.
kStatus kDirectory_Application(kChar *directory, kSize capacity)
Gets the directory in which the application executable file resides.
kStatus kDirectory_ListDirectories(const kChar *directory, kArrayList directories)
Creates a list of the sub-directories in the specified directory.
kStatus kDirectory_DeleteEntries(const kChar *directory)
Deletes the directories and files in the specified directory, but not the directory itself...
kStatus kDirectory_Delete(const kChar *directory)
Deletes the specified directory, including all of its contents.
Core Zen type declarations.
kStatus kDirectory_Temp(kChar *directory, kSize capacity)
Gets the path of a directory suitable for temporary files.
kStatus kDirectory_ListEntries(const kChar *directory, kArrayList entries)
Creates a list of the file system entries in the specified directory.
kStatus kDirectory_AppData(const kChar *appName, kChar *directory, kSize capacity)
Gets a directory suitable for an application to write data files.
kStatus kDirectory_ListFiles(const kChar *directory, kArrayList files)
List the files in the specified directory.
kStatus kDirectory_AppConfig(const kChar *appName, kChar *directory, kSize capacity)
Gets the directory from which an application should load its configuration/resource files...
kStatus kDirectory_Plugin(kChar *directory, kSize capacity)
Gets the directory in which Zen modules and plug-ins are located.
Represents a list implemented with a dynamic array.
kStatus kDirectory_Create(const kChar *directory)
Creates a directory at the specified location.
Represents an error code.
kBool kDirectory_Exists(const kChar *directory)
Reports whether the specified directory exists.
Represents a boolean value.