Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Migrated from #329 but targeting v1 branch instead of master.
Notable changes:
pathAbsolute
tosrcPath
for brevity and claritypkgPath
strings now contain an actual pkg path (i.e."source/main.brs"
is now"pkg:/source/main.brs"
)pkgPath
originally stored the platform-specific path separator (\
on windows,/
on everything else). NowpkgPath
always stores the unix separator because that's what is used on the roku device.program
file functions to auto-detect the path type and use the correct file collection (this.files
orthis.pkgMap
) accordingly.program.files
andprogram.pkgMap
now store their keys in all lower case, which removes the need to iterate the collection to find filesnormalizePath: boolean
parameter toprogram.getFile
to support skippingutil.standardizePath
when the caller knows the path has already been normalized