mirror of
https://github.com/beetbox/beets.git
synced 2025-12-24 01:25:47 +01:00
Now reads config['import']['link'], style fix and default setting added.
This commit is contained in:
parent
36550a0f23
commit
68b6317c59
2 changed files with 4 additions and 1 deletions
|
|
@ -5,6 +5,7 @@ import:
|
|||
write: yes
|
||||
copy: yes
|
||||
move: no
|
||||
link: no
|
||||
delete: no
|
||||
resume: ask
|
||||
incremental: no
|
||||
|
|
|
|||
|
|
@ -449,7 +449,9 @@ def move(path, dest, replace=False):
|
|||
traceback.format_exc())
|
||||
|
||||
def link(path, dest, replace=False):
|
||||
"""Create a symbolic link from path to `dest`. Raises an OSError if `dest` already exists, unless `replace` is True. Does nothing if `path` == `dest`."""
|
||||
"""Create a symbolic link from path to `dest`. Raises an OSError if
|
||||
`dest` already exists, unless `replace` is True. Does nothing if
|
||||
`path` == `dest`."""
|
||||
if (samefile(path, dest)):
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue