mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
Format
This commit is contained in:
parent
58dd8ffc0a
commit
fffe7259de
1 changed files with 2 additions and 9 deletions
|
|
@ -1,16 +1,9 @@
|
||||||
use globset::GlobBuilder;
|
use globset::GlobBuilder;
|
||||||
use mlua::{
|
use mlua::{ExternalError, ExternalResult, Function, IntoLua, IntoLuaMulti, Lua, MetaMethod, Table, Value};
|
||||||
ExternalError, ExternalResult, Function, IntoLua, IntoLuaMulti, Lua, MetaMethod, Table, Value,
|
|
||||||
};
|
|
||||||
use tokio::fs;
|
use tokio::fs;
|
||||||
use yazi_fs::remove_dir_clean;
|
use yazi_fs::remove_dir_clean;
|
||||||
|
|
||||||
use crate::{
|
use crate::{Error, bindings::{Cast, Cha}, file::File, url::{Url, UrlRef}};
|
||||||
Error,
|
|
||||||
bindings::{Cast, Cha},
|
|
||||||
file::File,
|
|
||||||
url::{Url, UrlRef},
|
|
||||||
};
|
|
||||||
|
|
||||||
pub fn compose(lua: &Lua) -> mlua::Result<Table> {
|
pub fn compose(lua: &Lua) -> mlua::Result<Table> {
|
||||||
let index = lua.create_function(|lua, (ts, key): (Table, mlua::String)| {
|
let index = lua.create_function(|lua, (ts, key): (Table, mlua::String)| {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue