Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pola-rs
GitHub Repository: pola-rs/polars
Path: blob/main/crates/polars-io/src/utils/sync_on_close.rs
8424 views
1
#[derive(Clone, Copy, PartialEq, Eq, Debug, Default, Hash)]
2
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
3
#[cfg_attr(feature = "dsl-schema", derive(schemars::JsonSchema))]
4
pub enum SyncOnCloseType {
5
/// Don't call sync on close.
6
#[default]
7
None,
8
9
/// Sync only the file contents.
10
Data,
11
/// Synce the file contents and the metadata.
12
All,
13
}
14
15