Skip to content

Commit cd2d3b6

Browse files
committed
Don't export PkgFiles
1 parent 5ffaabb commit cd2d3b6

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/CodeTracking.jl

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ using Base: PkgId
44
using Core: LineInfoNode
55
using UUIDs
66

7-
export PkgFiles
87
export whereis, definition, pkgfiles
98

109
include("pkgfiles.jl")
@@ -97,8 +96,8 @@ definition(method::Method) = definition(method, Expr)
9796
info = pkgfiles(name::AbstractString)
9897
info = pkgfiles(name::AbstractString, uuid::UUID)
9998
100-
Return a [`PkgFiles`](@ref) structure with information about the files that define the package
101-
specified by `name` and `uuid`.
99+
Return a [`CodeTracking.PkgFiles`](@ref) structure with information about the files that
100+
define the package specified by `name` and `uuid`.
102101
Returns `nothing` if this package has not been loaded.
103102
"""
104103
pkgfiles(name::AbstractString, uuid::UUID) = pkgfiles(PkgId(uuid, name))
@@ -113,8 +112,8 @@ pkgfiles(id::PkgId) = get(_pkgfiles, id, nothing)
113112
"""
114113
info = pkgfiles(mod::Module)
115114
116-
Return a [`PkgFiles`](@ref) structure with information about the files that were loaded to
117-
define the package that defined `mod`.
115+
Return a [`CodeTracking.PkgFiles`](@ref) structure with information about the files that
116+
were loaded to define the package that defined `mod`.
118117
"""
119118
pkgfiles(mod::Module) = pkgfiles(PkgId(mod))
120119

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ include("script.jl")
2121
f2(x, y) = x + y
2222
"""
2323

24-
info = PkgFiles(Base.PkgId(CodeTracking))
24+
info = CodeTracking.PkgFiles(Base.PkgId(CodeTracking))
2525
@test Base.PkgId(info) === info.id
2626
@test CodeTracking.basedir(info) == dirname(@__DIR__)
2727

0 commit comments

Comments
 (0)