TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Gets the directory components of a file name. For example, the directory component of /usr/bin/test is /usr/bin. The directory component of / is /.
/usr/bin/test
/usr/bin
/
If the file name has no directory components "." is returned. The returned string should be freed when no longer needed.
the name of the file
the directory components of the file
Gets the directory components of a file name. For example, the directory component of
/usr/bin/testis/usr/bin. The directory component of/is/.If the file name has no directory components "." is returned. The returned string should be freed when no longer needed.