Below you will see different outputs of paths obtained from the filepath.Base() and filepath.Dir() functions.
Match each of the output paths with the correct function used to obtain them.
Below you will see different outputs of paths obtained from the filepath.Base() and filepath.Dir() functions.
Match each of the output paths with the correct function used to obtain them.
filepath.Base("fiber/utils")filepath.Base("dracula-ui/src/")filepath.Dir("/among_us/img/impostor.png")filepath.Dir("dracula-ui/src/")filepath.Base("/among_us/img/impostor.png")filepath.Dir("fiber/utils")Create a free account to access the full topic