Skip to main content

check_write

Function check_write 

Source
pub fn check_write(config: &SessionConfig, url: &Url) -> Result<()>
Expand description

Refuse a write to the files at url (an INSERT INTO a table of files) in a session with a directory Root, unless they are under it: a local path whose links stay inside the root. Any write is allowed in a session without one, unless it is read-only (set_read_only).