-
Notifications
You must be signed in to change notification settings - Fork 402
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(filemanager): 文件管理器添加硬链接自动同步/硬链接定位
1. 在“同步目录”的配置中增加“自动定位”的开关,每套目录同步允许配置独立的打开或关闭自动定位硬链接; 2. 当同步目录关闭自动定位时,在文件区仍可对单个文件或所有文件手工执行定位硬链接; 3. 目录框输入或切换的目录为硬链接同步目录时,当前目录中的文件也支持自动定位或手工定位硬链接; 4. 硬链接同步目录的配置中,未配置目标目录的来源目录,在目录树中其目标目录现在显示为“未配置”,且点击不会跳转。
- Loading branch information
1 parent
b4577ea
commit 299bfaa
Showing
17 changed files
with
801 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
"""1.3.0 | ||
Revision ID: ff1b04a637f8 | ||
Revises: 7c14267ffbe4 | ||
Create Date: 2023-09-17 09:35:42.773359 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = 'ff1b04a637f8' | ||
down_revision = '7c14267ffbe4' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade() -> None: | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.add_column('CONFIG_SYNC_PATHS', sa.Column('LOCATING', sa.Integer(), nullable=True)) | ||
# ### end Alembic commands ### | ||
|
||
|
||
def downgrade() -> None: | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.drop_column('CONFIG_SYNC_PATHS', 'LOCATING') | ||
# ### end Alembic commands ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.