2021-07-19 10:47:31 +02:00
|
|
|
|
|
|
|
`core.set_project_dir`:
|
|
|
|
Reset project directories and set its directory.
|
|
|
|
It chdir into the directory, empty the `core.project_directories` and add
|
|
|
|
the given directory.
|
|
|
|
`core.add_project_directory`:
|
|
|
|
Add a new top-level directory to the project.
|
|
|
|
Also called from modules and commands outside core.init.
|
2021-07-23 19:36:31 +02:00
|
|
|
local function `scan_project_folder`:
|
2021-07-19 10:47:31 +02:00
|
|
|
Scan all files for a given top-level project directory.
|
|
|
|
Can emit a warning about file limit.
|
|
|
|
Called only from within core.init module.
|
|
|
|
|
2021-07-23 19:36:31 +02:00
|
|
|
`core.scan_project_subdir`: (before was named `core.scan_project_folder`)
|
2021-07-14 22:57:37 +02:00
|
|
|
scan a single folder, without recursion. Used when too many files.
|
|
|
|
|
2021-07-25 15:16:01 +02:00
|
|
|
Local function `scan_project_folder`:
|
2021-07-15 12:17:18 +02:00
|
|
|
Populate the project folder top directory. Done only once when the directory
|
|
|
|
is added to the project.
|
2021-07-14 22:57:37 +02:00
|
|
|
|
|
|
|
`core.add_project_directory`:
|
|
|
|
Add a new top-level folder to the project.
|
|
|
|
|
|
|
|
`core.set_project_dir`:
|
|
|
|
Set the initial project directory.
|
|
|
|
|
2021-07-25 15:16:01 +02:00
|
|
|
`core.dir_rescan_add_job`:
|
|
|
|
Add a job to rescan after an elapsed time a project's subdirectory to fix for any
|
|
|
|
changes.
|
|
|
|
|
|
|
|
Local function `rescan_project_subdir`:
|
|
|
|
Rescan a project's subdirectory, compare to the current version and patch the list if
|
|
|
|
a difference is found.
|
2021-07-14 22:57:37 +02:00
|
|
|
|
|
|
|
|
|
|
|
`core.project_scan_thread`:
|
|
|
|
Should disappear now that we use dmon.
|
|
|
|
|
|
|
|
|
|
|
|
`core.project_scan_topdir`:
|
|
|
|
New function to scan a top level project folder.
|
|
|
|
|
|
|
|
|
|
|
|
`config.project_scan_rate`:
|
|
|
|
`core.project_scan_thread_id`:
|
|
|
|
`core.reschedule_project_scan`:
|
|
|
|
`core.project_files_limit`:
|
|
|
|
A eliminer.
|
|
|
|
|
|
|
|
`core.get_project_files`:
|
|
|
|
To be fixed. Use `find_project_files_co` for a single directory
|
|
|
|
|
|
|
|
In TreeView remove usage of self.last to detect new scan that changed the files list.
|
|
|
|
|