mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
feat: add merge function
Able to deal with: 1. merge a subtree
This commit is contained in:
1 parent
1778780364
commit
a66de4dfe1
5 files changed
+114
-5
No files matched your search
@@ -1,7 +1,9 @@
|
||||
import { basename } from './utils'
|
||||
|
||||
export default class File {
|
||||
constructor({ path, name, type, discovered }) {
|
||||
constructor({ path, type, discovered }) {
|
||||
this.path = path
|
||||
this.name = name
|
||||
this.name = basename(path)
|
||||
this.type = type
|
||||
this.discovered = discovered
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user