Skip to content

Pass full filepaths to DataListener#569

Open
kestrel-x86 wants to merge 1 commit into
bolcom:masterfrom
kestrel-x86:feat-#447
Open

Pass full filepaths to DataListener#569
kestrel-x86 wants to merge 1 commit into
bolcom:masterfrom
kestrel-x86:feat-#447

Conversation

@kestrel-x86
Copy link
Copy Markdown

@kestrel-x86 kestrel-x86 commented May 19, 2026

When using a DataListener, DataEvents that include a file name will instead now use the path to the file relative to the FTP root directory.

For example:

match evt {
    DataEvent::Put { path, .. } => {
        /*
        before, `path == "kestrel.jpg"`
        after, `path == "/foo/bar/kestrel.jpg"`
        */
    }
    _ => {},
}

This can potentially be a breaking change.

@kestrel-x86
Copy link
Copy Markdown
Author

Addresses #447

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant