#![allow(dead_code)]
use crate::core::TwinResult;
use std::path::PathBuf;
pub struct FileLock {
lock_path: PathBuf,
}
impl FileLock {
pub fn new(lock_path: PathBuf) -> Self {
Self { lock_path }
}
pub async fn acquire(&self) -> TwinResult<()> {
Ok(())
}
pub async fn release(&self) -> TwinResult<()> {
Ok(())
}
}