get_extension


Description:

public string? get_extension (File file, bool normalize = true)

Determines the extension for the given file.

Parameters:

file

the file for which to get the extension

normalize

if the returned string should be normalized (i.e. case-converted down)

Returns:

the file extension string, or null if the file does not exist, is a directory, or there is no file extension


Namespace: Catalyst.FileUtils
Package: catalyst-1