mirror of
https://github.com/munki/munki.git
synced 2026-05-18 04:08:33 -05:00
Add a comment so I won't forget a future to-do
This commit is contained in:
@@ -193,6 +193,11 @@ class FileRepo: Repo {
|
||||
// Returns a list of identifiers for each item of kind.
|
||||
// Kind might be 'catalogs', 'manifests', 'pkgsinfo', 'pkgs', or 'icons'.
|
||||
// For a file-backed repo this would be a list of pathnames.
|
||||
|
||||
// TODO: the order Foundation enumerates files is different than the order
|
||||
// you get from Python's os.walk. This affets the behavior of MWA2.
|
||||
// MWA2 probably should not be relying on catalogs being built in a specific ordering.
|
||||
|
||||
var fileList = [String]()
|
||||
let searchPath = (root as NSString).appendingPathComponent(kind)
|
||||
let filemanager = FileManager.default
|
||||
|
||||
Reference in New Issue
Block a user