Skip to content

Commit

Permalink
[flow][EZ] Kill Haste_module_info.of_module_name
Browse files Browse the repository at this point in the history
Summary:
There are no more usages.

Changelog: [internal]

Reviewed By: gkz

Differential Revision: D66525389

fbshipit-source-id: 47563eb291486d54e350e578f864efb8ae7a9670
  • Loading branch information
SamChou19815 authored and facebook-github-bot committed Dec 2, 2024
1 parent 63bf04b commit 162d320
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/common/modulename/haste_module_info.ml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,8 @@ type t = {
}
[@@deriving show]

let default_namespace_bitset = Bitset.all_one 1

let mk ~module_name ~namespace_bitset = { module_name; namespace_bitset }

let of_module_name module_name = { module_name; namespace_bitset = default_namespace_bitset }

let module_name { module_name; _ } = module_name

let namespace_bitset { namespace_bitset; _ } = namespace_bitset
Expand Down
2 changes: 0 additions & 2 deletions src/common/modulename/haste_module_info.mli
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ type t [@@deriving show]

val mk : module_name:string -> namespace_bitset:Bitset.t -> t

val of_module_name : string -> t

val module_name : t -> string

val namespace_bitset : t -> Bitset.t
Expand Down

0 comments on commit 162d320

Please sign in to comment.