You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: fullyQualifiedName is wrong for Windows paths (backslashes not converted) #111
DecoratorProcessor.get_functions_and_classes builds fullyQualifiedName with str(file_path).replace("/", "."). On Windows, os.walk + os.path.join produce backslash paths (src\pkg\mod.py), so nothing is replaced and the generated annotations.yml contains names like src\pkg\mod.MyClass.method instead of src.pkg.mod.MyClass.method. reqstool-client then can't match annotations to code, with no error.
Expected behaviour
The same annotations.yml on Windows, macOS and Linux for the same sources.
Proposed fix
Normalise with PurePath(file_path).as_posix() before replacing / with ., plus a test with Windows-style paths.
Activity