Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Can't tag functions if project name contains functions #140

@MysteryBlokHed

Description

@MysteryBlokHed

This following code from files::get_namespace uses the following code to get a path that ends with the namespace folder:

let namespace_folder = functions_path
.as_ref()
.to_str()
.unwrap()
.split("functions")
.next()
.unwrap();

Because of the .split("functions"), the first instance of functions in the path is split. This is a problem if any part of the path contains the word functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglibRelated to the Databind librarysourceAffects the project's source

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions